Erik, issues.apache.org is not available here at the moment. This test passes:
public void testBoolean() throws Exception { BooleanQuery bq = new BooleanQuery(); Query query = new FilteredQuery(new MatchAllDocsQuery(), new SingleDocTestFilter(0)); bq.add(query, BooleanClause.Occur.SHOULD); query = new FilteredQuery(new MatchAllDocsQuery(), new SingleDocTestFilter(1)); bq.add(query, BooleanClause.Occur.SHOULD); Hits hits = searcher.search(bq); assertEquals(2, hits.length()); System.out.println(hits.id(0)); System.out.println(hits.id(1)); } Regards, Paul Elschot --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]