: When i run "dataimport/?command=full-import&clean=false", solr add new 
: documents with the information. But if the same information already 
: exists with the same uniquekey, it replaces the existing document with a 
: new one.
: It does not update the document, it creates a new one. It's that possible?

I'm not certain that i'm understanding your question.

It is possible using Atomic Updates, but you have to be explicit 
about what/how you wnat Solr to use the new information (ie: when to 
replace, when to add to a multivaluded field, when to increment a numeric 
field, etc...)

https://wiki.apache.org/solr/Atomic_Updates

I don't think DIH has any straight forward syntax for letting you 
configure this easily, but as long as you put a "map" in each 
field (ie: via ScriptTransformer perhaps) containing a single "modifier => 
value" pair you want applied to that field, it should work.

: I'm indexing rss feeds. I run the rss example that exists in the solr 
: examples, and i does that.

Can you please be more specific about what you would like to see happen, 
we can better understand what your actual goal is?  It's really not clear 
if using Atomic Updates is the easiest way to achieve what you're after, 
or if I'm just completley missunderstanding your question...

https://wiki.apache.org/solr/UsingMailingLists

-Hoss

Reply via email to