Please clarify the question. You certainly can write queries as you have
suggested, at least using the lucene/solr and edismax query parsers), so
what is the problem or issue or concern that you have? The Dismax query
parser doesn't support field specification in the query (only in the qf
parameter for default fields to search) - is that the issue? So, try edismax
and tell us if you still have a problem there.
-- Jack Krupansky
-----Original Message-----
From: G.Long
Sent: Friday, May 11, 2012 10:42 AM
To: solr-user@lucene.apache.org
Subject: how to use multiple query operators?
Hi :)
I'm can't find how to write a query like :
field1:value1 AND (field2:value2 OR field2:value3).
I read the documentation about local parameters which allows to define
the query operator but it seems to be for the entire query.
Gary