Hello: I have a problem with TermDocs#read operation. the following code has an incorrect result:
..... int termFreq=0; ..... TermDocs termDocs = indexReader.termDocs(new Term(((Field)field).name(),termCons)); int[] freqs = new int[]{0}; termDocs.read(new int[]{doc}, freqs); termFreq+=freqs[0]; .... the freqs array always return with a "[1]" for all terms and for all documents. :S Can you help me please? Thanks a lot! Carlos