On Feb 1, 2005, at 9:49 AM, Jerry Jalenak wrote:
Given Erik's response of 'don't put duplicate documents in the index', how
can I accomplish this in the IndexWriter?
As John said - you'll have to come up with some way of knowing whether you should index or not. For example, when dealing with filesystem files, the Ant <index> task (in the sandbox) checks last modified date and only indexes new files.
Using a unique id on your data (primary key from a DB, URL from web pages, etc) is generally what people use for this.
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]