lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avlesh Singh <avl...@gmail.com>
Subject Re: Problem with Query Parser?
Date Tue, 16 Jun 2009 04:39:25 GMT
And here's the debug info:
<str name="rawquerystring">+myField:"$" +city:Mumbai</str>
<str name="querystring">+myField:"$" +city:Mumbai</str>
<str name="parsedquery">+city:Mumbai</str>
<str name="parsedquery_toString">+city:Mumbai</str>
<str name="QParser">OldLuceneQParser</str>

I found this unintuitive. "No results" rather than "All results" was the
expected behavior.

Cheers
Avlesh

On Tue, Jun 16, 2009 at 9:58 AM, Avlesh Singh <avlesh@gmail.com> wrote:

> Probably the analyzer removed the "$", leaving an empty term and causing
>> the clause to be removed altogether.
>>
>
> I predicted this behavior while writing the mail yesterday, Yonik.
> Does it sound logical and intuitive?
>
> Cheers
> Avlesh
>
>
> On Tue, Jun 16, 2009 at 9:42 AM, Yonik Seeley <yonik@lucidimagination.com>wrote:
>
>> On Mon, Jun 15, 2009 at 11:53 PM, Avlesh Singh<avlesh@gmail.com> wrote:
>> > How does one explain this?
>> > +myField:"$" give zero result
>> > +myField:"$" +city:"Mumbai" gives result for city:"Mumbai"
>>
>> Probably the analyzer removed the "$", leaving an empty term and
>> causing the clause to be removed altogether.
>>
>> -Yonik
>> http://www.lucidimagination.com
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message