You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Walt Stoneburner <wa...@gmail.com> on 2007/07/02 23:52:35 UTC

Reusing Document Objects (was Auto Slop)

If I create a Document object, can I pass it to multiple index writers
without harm?

Or, does the process of being handed to an Index Writer somehow mutate the
state of the Document object, say during tokenizing, that would cause it's
re-use with a totally separate index to cause problems ...such as I'm seeing
with slop?

-wls