Hi,

What are query fields qf and their field types?

Ahmet



On Saturday, January 10, 2015 11:10 AM, leostro <leo.orland...@gmail.com> wrote:
Hi all

I'm studying SOLR for implement it in my website.
I've imported the db and I'm making some tests about edismax and mm.
I'm searching for documents containing "xbox 360".

- If I specifiy mm=100% (I have the same result setting default operator to
"AND") SOLR give me 5 documents:
[http://localhost:8983/solr/Collection1/select?wt=json&indent=true&q=xbox
360&rows=10&defType=edismax&mm=100%&fq=countryid:53]

Ps3 xbox 360 ps4 xbox one
Ps4, xbox one, ps3, xbox 360
Xbox one - scambio con 360 e supplemento
Playstation 3, 2, xbox 360, one
Xbox 360 ps3 xbox one ps4 notebook netbook i-phone

Ok, It's right they all contains both "xbox" and "360".

- BUT the same url specifying mm=0 gives me a lot of matching documents
(559, the same I have with default operator set to "OR")
[http://localhost:8983/solr/Collection1/select?wt=json&indent=true&q=xbox
360&rows=10&defType=edismax&mm=0%&fq=countryid:53]

Bur surprising, the results consists of a lot of documents containing both
"xbox" and "360" that aren't returned by the first query. 
Here the first 20 rows:

Ps3 xbox 360 ps4 xbox one
Ps4, xbox one, ps3, xbox 360
Xbox one - scambio con 360 e supplemento
Playstation 3, 2, xbox 360, one
Xbox 360 ps3 xbox one ps4 notebook netbook i-phone
Xbox 360
cerco xbox 360
Xbox 360
Xbox 360
xbox 360
Xbox 360
Xbox 360
Xbox 360
Xbox 360
Xbox 360
Xbox 360
Xbox 360
Xbox 360
Xbox 360

How can it happens?
Hope someone can help me.

Regards,
Leo



--
View this message in context: 
http://lucene.472066.n3.nabble.com/edismax-and-mm-strange-behaviour-tp4178532.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to