lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: Is there a way to check for field "uniqueness" when indexing?
Date Fri, 21 Aug 2009 04:52:36 GMT
On Fri, Aug 21, 2009 at 12:49 AM, Chris
Hostetter<> wrote:
> : But in that case, I assume Solr does a commit per document added.
> not at all ... it computes a signature and then uses that as a unique key.
> IndexWriter.updateDocument does all the hard work.

Right - Solr used to do that hard work, but we handed that over to
Lucene when that capability was added.  It involves batching either
way (but letting Lucene handle it at a lower level is "better" since
it can prevent inconsistencies from crashes).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message