On 11/6/2013 11:46 AM, Tom Mortimer wrote:
I'm using eDisMax query parser, and need to support Boolean operators AND
and OR. It seems from testing that these are *not* case sensitive, e.g.
setting mm to 0, "oscar AND wilde" returns the same results as "oscar and
wilde" (15 hits) while "oscar foo wilde" returns the same results as "oscar
wilde" (2000 hits).

Is it possible to configure eDisMax to do case-sensitive parsing, so that
"AND" is an operator but "and" is just another term?

Include another query parameter: lowercaseOperators=false

http://wiki.apache.org/solr/ExtendedDisMax#lowercaseOperators

Thanks,
Shawn

Reply via email to