The Solr query parser extends the Lucene query parser and makes very
few syntactic changes.
http://lucene.apache.org/java/docs/queryparsersyntax.html

On 10/15/06, Marcio Pinto Motta <[EMAIL PROTECTED]> wrote:
creation_date:2006-08-10T00:00:00Z

':' is a special char to the lucene query parser.  The easiest way to
solve this problem is to put the value in quotes:

q=creation_date:"2006-08-10T00:00:00Z"

cod_profile:84755 84756 84757

For this one, I assume you want any of 84755 84756 84757 in the
cod_profile field.
What it is actually doing is searching for 84756 or 84757 in the
default search field in addition to 84755 in the cod_profile field.

What you want is
cod_profile:84755 cod_profile:84756 cod_profile:84757
or
cod_profile:(84755 84756 84757)

-Yonik

Reply via email to