Stéphane Corlosquet wrote:
> Hi all,
>
> I'm new to solr so please let me know if there is a more appropriate place
> for my question below.
>
> I'm noticing a rather unexpected number of results when I add more keywords
> to a search. I'm listing below a example (where I replaced the real keywor
sorry, mm was set to 2<-35%, not 2->25%, but nevermind.
Steph.
On Thu, Sep 9, 2010 at 3:13 PM, Stéphane Corlosquet
wrote:
> Thank you Erick, Markus and Ahmet! That answered my question. Changing the
> value of the mm parameter in solrconfig.xml did have an effect on the 3
> keyword query (it was
Thank you Erick, Markus and Ahmet! That answered my question. Changing the
value of the mm parameter in solrconfig.xml did have an effect on the 3
keyword query (it was set to 2->25%), and removing it entirely forced all
keywords to be present, and the number of hits was decreasing as expected.
I'
Indeed, it's the dismax, i missed it! My bad..
-Original message-
From: Ahmet Arslan
Sent: Thu 09-09-2010 20:37
To: solr-user@lucene.apache.org;
Subject: Re: Inconsistent search results with multiple keywords
> yes, my schema.xml file have defaultOperator="AND"/
> yes, my schema.xml file have defaultOperator="AND"/> which
> is why I thought that the number of hits would decrease
> every time you add a
> keyword.
You are using dismax so, it is determined by mm parameter.
http://wiki.apache.org/solr/DisMaxQParserPlugin#mm_.28Minimum_.27Should.27_Match.29
Hi Markus,
On Thu, Sep 9, 2010 at 9:55 AM, Markus Jelsma wrote:
> Looks like AND is your defaultOperator [1].
yes, my schema.xml file have which
is why I thought that the number of hits would decrease every time you add a
keyword.
> Check your schema.xml and try
> adding q.op=or to your qu
Hi Erick,
On Thu, Sep 9, 2010 at 9:41 AM, Erick Erickson wrote:
> Could you show us the definitions for your fields? I suspect
> you're not getting the tokens you expect. This will almost certainly
> be true if the type is "string" rather than "text".
>
I should mention that I use solr via the
Looks like AND is your defaultOperator [1]. Check your schema.xml and try
adding q.op=or to your query.
[1]: http://wiki.apache.org/solr/SearchHandler#q.op
On Thursday 09 September 2010 15:34:52 Stéphane Corlosquet wrote:
> Hi all,
>
> I'm new to solr so please let me know if there is a more a
Could you show us the definitions for your fields? I suspect
you're not getting the tokens you expect. This will almost certainly
be true if the type is "string" rather than "text".
The solr admin page (especially analysis) will help you a lot here, as
will adding &debugQuery=on to your query and