Re: How to combine multiple fielded queries in Lucene

2005-10-27 Thread msftblows
ED]> To: java-user@lucene.apache.org Sent: Thu, 27 Oct 2005 10:24:34 -0500 Subject: How to combine multiple fielded queries in Lucene I am developing a search application via Lucene and ran into a problem can be described as: Assume we have document schema with these fields: Title,

Re: How to combine multiple fielded queries in Lucene

2005-10-27 Thread Erik Hatcher
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 200

RE: How to combine multiple fielded queries in Lucene

2005-10-27 Thread Peter Kim
x27;ll cost to buy the book. Peter > -Original Message- > From: Xin Herbert Wu [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 27, 2005 11:25 AM > To: java-user@lucene.apache.org > Subject: How to combine multiple fielded queries in Lucene > > I am develop

How to combine multiple fielded queries in Lucene

2005-10-27 Thread Xin Herbert Wu
I am developing a search application via Lucene and ran into a problem can be described as: Assume we have document schema with these fields: Title, Author, Summary, Publication_date(Date), Content The user query is like this: Find all documents where either Title field has word "baseba