Not that I know of. But if you're storing Lucene doc IDs as part of existing search results, you're playing with fire anyway. Unless there's a compelling reason to avoid it, you're usually better off storing your own unique doc ID in a different field and using that because you can guarantee that it's invariant.
Best Erick On Fri, Aug 22, 2008 at 10:36 AM, Carlos del Cacho <[EMAIL PROTECTED]>wrote: > Hello, > > I'd like to modify a Field in an already indexed Document. The only way so > far that I have found is to delete the document through an IndexReader and > add a new one with an IndexWriter. This has the undesirable property that > it > alters existing search results for a given keyword. Is there a better way > to > do this? > > Thanks, > Carlos >
