Is there a fast way to determine the total number of terms inside an index?
Currently I only found the way to walk through the TermEnumeration, i.e. TermEnum termEnum4TermCount = reader.terms(); int iTermCount = 0; while (termEnum4TermCount.next()) iTermCount++; termEnum4TermCount.close(); Thanks for all answers! Christian --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org