the default solrj implementation should do what you need.


As for Solrj, you're probably right, but I'm not going to take any
chances for the time being. The server.add method has an optional
Boolean flag named "overwrite" that defaults to true. Without knowing
for sure what it does, I'm not going to mess with it.

direct solr update allows a few extra fields allowDups, overwritePending, overwriteCommited -- the future of overwritePending, overwriteCommited is in doubt (SOLR-60), so i did not want to bake that into the solrj API.

internally,

 allowDups = !overwrite; (the one field you can set)
 overwritePending = !allowDups;
 overwriteCommited = !allowDups;


ryan

Reply via email to