FilteredQuery and Boolean AND

2005-03-25 Thread Kipping, Peter
I have the following query structure: BooleanQuery q2 = new BooleanQuery(); TermQuery tq = new TermQuery(new Term("all_entries", "y")); FilteredQuery fq = new FilteredQuery(tq, ft); FilteredQuery fq2 = new FilteredQuery(tq, ft2); q2.add(fq, false, false); q2.add(fq2, false, false); The two filter

RE: how to detect index integrity?

2005-03-25 Thread Ravi Rao
> From: [EMAIL PROTECTED] > Sent: Fri 3/25/2005 2:19 AM > I used your NullDirectory.java, and found it works fine for smaller > indexes, but when it comes to larger indexes(I am not quite sure, just > observation), it always throws this exception at here: > [ ... code and stack trace moved to e

Re: how to detect index integrity?

2005-03-25 Thread Chris Lu
Hi, Ravi, I used your NullDirectory.java, and found it works fine for smaller indexes, but when it comes to larger indexes(I am not quite sure, just observation), it always throws this exception at here: private void refill() throws IOException { long start = bufferStart + bufferPosition;