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: How to combine multiple fielded queries in Lucene
Date Thu, 27 Oct 2005 18:16:30 GMT

On 27 Oct 2005, at 11:32, Peter Kim wrote:

> If you're using the QueryParser, you just prefix the field-specific  
> part
> with the field. For example, the query in your email should be  
> submitted
> to the query parser as:
>
> (Title:"baseball" OR Summary:"white sox") AND Publication_date:"199501
> TO 200412"

Correction:   Publication_date:[199501 TO 200412]

> You'll hear this a million times if you're on this mailing list long
> enough, but buy Lucene in Action. The time you'll lose without it  
> is far
> more costly than the $30 it'll cost to buy the book.

:)  Thanks!

     Erik


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


Mime
View raw message