Hi, In my application, sometimes I need to find doc Id with term frequency of my terms in my index of multi lines, tokenized & indexed with Standard Analyzer. For this, now I'm using * TermDocs termDocs= reader.termDocs(new Term("FIELD","book1"); while(termDocs.next()) { matches += termDocs.freq(); int docId = termDocs.doc(); }
**I can't get such doc Id with term frequency of wildcard terms by using the same. If I use *WildcardTermEnum* , I can get term freq., but not doc ID. Please give me any idea to resolve this problem. Thanks & Regards RSK