lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From starz10de <>
Subject Document path in lucene index
Date Fri, 25 Jul 2008 13:23:08 GMT

Hi All,

 I am reading the index and printing the index terms and their corresponding

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 same as in searcher (query).

IndexReader ir =; 
TermEnum termEnum = ir.terms(); 
while ( { 
                        TermDocs dok = ir.termDocs(); 
                        while ( { 
 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:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message