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 path=c:/books/appach.txt. Any better idea ?? thx
-- View this message in context: http://lucene.472066.n3.nabble.com/how-do-re-get-the-doc-after-the-doc-was-indexed-tp4020865.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org