Don't have an immediate answer for you on #1, but for #2, "mm" does not
override explicit operators - "and" - it only applies to terms that are not
the immediate operand of an explicit operator. Note that by default
lower-case operators are enabled in edismax - "and" is treated as "AND" -
you can set "lowercaseOperators=false" to avoid that.
-- Jack Krupansky
-----Original Message-----
From: amitesh116
Sent: Wednesday, August 22, 2012 8:13 AM
To: solr-user@lucene.apache.org
Subject: Edismax parser weird behavior
Hi I am experiencing 2 strange behavior in edismax:
edismax is configured to behave default OR (using mm=0)
Total there are 700 results
1. Search for *auto* = *50 results*
Search for *NOT auto* it gives *651 results*.
Mathematically, it should give only 650 results for *NOT auto*.
2. Search for *auto* = 50 results
Search for *car = 100 results*
Search for *auto and car = 10 results*
Since we have set mm=0, it should behave like OR and results for auto and
car would be more than 100 at least
Please help me, understand these two issues. Are these normal behavior? Do I
need to tweak the query? Or do I need to look into config or scheam xml
files.
Thanks in Advance
--
View this message in context:
http://lucene.472066.n3.nabble.com/Edismax-parser-weird-behavior-tp4002626.html
Sent from the Solr - User mailing list archive at Nabble.com.