Can TermDocs be reused i.e. can you do.
TermDocs docs = reader.termDocs();
docs.seek(term1);
int i = 0;
while (docs.next()) {
i++;
}
docs.seek(term2);
int j = 0;
while (docs.next()) {
j++;
}Reuse does seem to work but I get ArrayIndexOutOfBoundsExceptions from BitVector it I reuse the same one over a period of time. Many Thanks Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
