lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Restrict Parsing duplicate file in Solr
Date Tue, 10 Sep 2013 22:54:20 GMT

: Thanks for the response. My requirement is make sure I detect file  if its
: already indexed , neglect instead of replacing the existing one.

A trivial way to make Solr reject (ie: actually generate an error, not 
just ignore) a document that already exists is to use the Optimistic 
Concurrency update features, with an artificial version of "1".

The docs aren't very good about this feature, but it's all spelled out 
here (and in the links from that issue)...


View raw message