Otis, Okay, got it... however we weren't creating new document objects... just grabbing a document through an IndexReader and calling addDocument on another index. Would that still work with unstored fields(well, its working for us since we don't have any unstored fields)?
Thanks a lot! Roy. On Tue, 6 Jul 2004 19:46:30 -0700 (PDT), Otis Gospodnetic wrote > Quick example. > Index A has fields 'title' and 'contents'. > Field 'contents' is stored in A as Field.UnStored. > This means that you cannot retrieve the original content of the > 'contents' field, since that value was not stored verbatim in the > index. > Therefore, you cannot create a new Document instance, pull out String > value of the 'contents' field from A, use it to create another field, > add it to the new Document instance, and add that Document to a new > index B using addDocument method. > > addIndexes method does not need to pull out the original String field > values from Documents, so it will work. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]