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 <avl...@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 
> <yo...@lucidimagination.com>wrote:
>
>> On Mon, Jun 15, 2009 at 11:53 PM, Avlesh Singh<avl...@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
>>
>
>

Reply via email to