Hi All,
I am reading the index and printing the index terms and their corresponding
paths.
I can print the index terms but I don't know if there is any possibilites to
print the coressbonds paths, i can just print the docid, but i need to print
the paths as it is possible in searcher (query).
IndexReader ir = IndexReader.open(index);
TermEnum termEnum = ir.terms();
while (termEnum.next()) {
TermDocs dok = ir.termDocs();
dok.seek(termEnum);
while (dok.next()) {
System.out.println(indexTerm+" "+dok.freq()+" "+dok.doc());
}
Is it possible here to get the corresponding document paths??
Thanks in advance
--
View this message in context:
http://www.nabble.com/Document-path-in-lucene-index-tp18651668p18651668.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]