: > Where within Solr is uniqueness enforced? I'd like to at least put : > some debug checking in there. : : During the add (in DirectUpdateHandler2) docs are kept track of, and : during a commit they are checked for dups. That code has been very
Just for the record: there is one other easy way docs with identical duplicate keys could get added to the index: if the client sending the (duplicate) doc explicitly uses the 'allowDups="true"' option on the <add> command. -Hoss