DisMax preserves a fair amount of syntax. It isn't a pure text
query.
We have a small client library (written before solrj) that
escapes all the stuff that Solr doesn't. If you are already
lowercasing queries, then you can fix AND, OR, and NOT by
replacing them with their lowercase equivalents.
w
check the dismax handler -- it expects words to search for, not a
query syntax
On Apr 24, 2008, at 9:53 AM, Geoffrey Young wrote:
Otis Gospodnetic wrote:
Not in one place and documented. The place to look are query
parsers, but things like AND OR NOT TO are the ones to look out for.
Otis Gospodnetic wrote:
Not in one place and documented. The place to look are query parsers, but
things like AND OR NOT TO are the ones to look out for.
this seems like something solr ought to handle gracefully on the backend
for me - if I need to write logic to make sure a malicious quer
gt;
To: solr-user@lucene.apache.org
Sent: Wednesday, April 23, 2008 8:45:24 PM
Subject: Re: Got parseException when search keyword AND on a text
field
Otis, Thanks for the reply. Is there a list of words that have
special
meaning?
Thanks
Xuesong
Re: Got parseException when search keyword AN
o: solr-user@lucene.apache.org
> Sent: Wednesday, April 23, 2008 8:45:24 PM
> Subject: Re: Got parseException when search keyword AND on a text field
>
> Otis, Thanks for the reply. Is there a list of words that have special
> meaning?
>
> Thanks
> Xuesong
>
>
>
> Re:
Otis, Thanks for the reply. Is there a list of words that have special
meaning?
Thanks
Xuesong
Re: Got parseException when search keyword AND on a text field
Otis Gospodnetic
Fri, 18 Apr 2008 18:39:45 -0700
Xuesong,
AND has a special meaning - it is a boolean AND when capitalized. That
ssage
From: Xuesong Luo <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Friday, April 18, 2008 7:22:32 PM
Subject: Got parseException when search keyword AND on a text field
Hi,
I got the following error when search keyword AND on a text field. I
checked stopwords.txt, it has an ent
Hi,
I got the following error when search keyword AND on a text field. I
checked stopwords.txt, it has an entry for word and.(case insensitive),
but it seems not work for word AND. Does any one know how to fix this
problem?
Thanks
Xuesong
http://localhost/search/select/?q=firstName%3AAND&version