lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Dates and others
Date Mon, 24 Nov 2003 04:43:10 GMT
On Sunday, November 23, 2003, at 03:33  PM, Dion Almaer wrote:
>>> 2. +field:foo and the QueryParser:
>>>
>>>    I ran into some problems where using +field:foo was
>> giving strange
>>> results.  When I changed the queries to "... AND field:foo"
>> everything
>>> was fine.
>>>    Am I missing something there?
>>
>> Which version of Lucene are you using? There have been some
>> fixes in the query parser of Lucene 1.2, but I don't know
>> precisely which.
>
>
> I am using 1.3 RC 2.  The AND workaround is fine... just caught me
> by surprise.

If you run into the strange results again, try doing a 
Query.toString("field") to see what QueryParser thought of the query 
expression.  I'd be curious to know more about this issue.


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message