Thanks for the quick reply Erik,
so you mean rather than having
subject:(term001 ... term800)
to send through the query parser
I should use
(subject:term001 ... subject:term800)
to pass onto the searcher directly ?
No, no, no. As you found out, the compiler makes a great tester :)
BooleanQuery query = new BooleanQuery();
for each term you want to add, do this:
query.add(new TermQuery(new Term("subject", "term" + XXX)), false, false);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]