If something causes an exception when edismax has called the basic Lucene
query parser, edismax will eat the exception, escape operators (your "AND")
and reparse, where your "AND" then gets treated as a simple term.
Maybe some difficulty in your field type analyzer?
We need to see your full query URL, request handler, and field types.
-- Jack Krupansky
-----Original Message-----
From: Steven Bower
Sent: Thursday, August 15, 2013 5:19 PM
To: solr-user
Subject: AND not working
I have query like:
q=foo AND bar
defType=edismax
qf=field1
qf=field2
qf=field3
with debug on I see it parsing to this:
(+(DisjunctionMaxQuery((field1:foo | field2:foo | field3:foo))
DisjunctionMaxQuery((field1:and | field2:and | field3:and))
DisjunctionMaxQuery((field1:bar | field2:bar | field3:bar))))/no_coord
basically it seems to be treating the AND as a term... any thoughts?
thx,
steve