On Thu, Jan 31, 2013 at 11:05 PM, Michael McCandless <luc...@mikemccandless.com> wrote: > It's confusing, but you should never try to re-index a document you > retrieved from a searcher, because certain index-time details (eg, > whether a field was tokenized) are not preserved in the stored > document. > > Instead, you should re-build the document yourself, setting the right > details per-Field, and then re-index that.
Just to check about this - if you use the same PerFieldAnalyzerWrapper when indexing the new document, doing it this way is safe, right? (With the exception of fields you originally indexed which weren't stored at all, of course... which would have to be reconstructed from some other location.) TX --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org