On Tuesday 19 December 2006 23:05, Scott Sellman wrote: > new > BooleanClause.Occur[]{BooleanClause.Occur.SHOULD, > BooleanClause.Occur.SHOULD}
Why do you explicitly specify these operators? > q.add(keywordQuery, BooleanClause.Occur.MUST); //true, false); You seem to wrap a query in another BooleanQuery. As long as keywordQuery is the only query that doesn't seem to make sense. Please try using the MultiFieldQueryParser's constructor, not the static method. I think that might fix your problem. Regards Daniel -- http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]