RE: "Match All Words" Query

2002-04-08 Thread Aruna Raghavan
Hi, I haven't tried two levels of boolean queries but I did use the following and it works fine for me. BooleanQuery bool_query = new BooleanQuery(); for each field { Query q = QueryParser.parse(term,field,analyzer); bool_query.add(q,false,false); } searcher.search( bool_query); A

Re: "Match All Words" Query

2002-04-06 Thread Chris Withers
Melissa Mifsud wrote: > > I've been going round in circles trying to come up with a query that will return >documents which contian ALL the query terms. This should be easy, however I would >like the words to span ANY of the fields of the documents. Just a thought... have you tried building a