Can SOLR perform an UPSERT?

后端 未结 2 716
刺人心
刺人心 2021-01-19 11:20

I\'ve been attempting to do the equivalent of an UPSERT (insert or update if already exists) in solr. I only know what does not work and the solr/lucene documentation I hav

2条回答
  •  臣服心动
    2021-01-19 11:50

    With Solr 4.0 you can do a Partial update of all those document with just the fields that have changed will keeping the complete document same. The id should match.

提交回复
热议问题