Why are you using the mm parameter at all? In my experience, anyone setting mm to 0 or 100% is misusing the mm feature. mm stands for "minimum should match" and is designed to give expert users fine control over recall when terms are optional ("should" occur but are not "required".) So, please explain in plain English what effect you are trying to achieve. mm is not for newbies!
Also, please point us to whatever doc or other material you were reading that gave you the impression that mm was appropriate for your use case, so that we can correct any bad documentation. -- Jack Krupansky On Sat, Jan 10, 2015 at 4:05 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. >