lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wgggfiy <>
Subject how do re-get the doc after the doc was indexed ?
Date Sat, 17 Nov 2012 16:08:02 GMT
for example:
I indexed a doc with path=c:/books/appach.txt, author=Mike
After a long time, I wanted to modify the author to John.
But the quethion is how I can get the exact same doc fastly ??
My idea is to traverse the docs from id=0 to id=maxDoc(), and
retrive it with store fields, and check its path whether equals
Any better idea ??

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