Thanks for the advice everyone. I am rebuilding the index with a lowercase
field instead of string.
-Original Message-
From: Chris Hostetter [mailto:hossman_luc...@fucit.org]
Sent: Thursday, August 11, 2011 1:10 PM
To: solr-user@lucene.apache.org
Subject: Re: Searching For Term
: I am looking for some advice on how to index and search a field that
: contains a two character state name without the query parser dying on
: the OR and also not treating it as an 'OR' Boolean operator.
fq={!term f=state}OR
...this kind of filter you don't want a query parser that has any
to:tomasflo...@gmail.com]
> Enviado el: jueves, 11 de agosto de 2011 19:58
> Para: solr-user@lucene.apache.org
> Asunto: Re: Searching For Term 'OR'
>
> I guess this is because Lucene QP is interpreting the 'OR' operator.
> You can either:
> use lowercas
Thanks for the feedback. I'll give these a try.
Tomás Fernández Löbbe wrote:
>I guess this is because Lucene QP is interpreting the 'OR' operator.
>You can either:
> use lowercase
> use other query parser, like the term query parser. See
>http://lucene.apache.org/solr/api/org/apache/solr
I guess this is because Lucene QP is interpreting the 'OR' operator.
You can either:
use lowercase
use other query parser, like the term query parser. See
http://lucene.apache.org/solr/api/org/apache/solr/search/TermQParserPlugin.html
Also, if you just removed the "or" term from the stop
Hello,
I am looking for some advice on how to index and search a field that contains
a two character state name without the query parser dying on the OR and also
not treating it as an 'OR' Boolean operator.
For example:
The following query with a filter query key/value pair causes an exc