0

I am searching for a way to update Solr documents via SolrJ client only partially. Documentation about SolrInputDocument object here https://lucene.apache.org/solr/6_3_0/solr-solrj/index.html didn't show any obvious possibility to do this.

There exist partial updates in Solr, but I could not find a way to do this via SolrJ - am I missing something?

The "solution" to read the document first and re-use values of existing fields + change the desired ones seems not like a real performant solution to me...

Strinder
  • 2,111
  • 2
  • 21
  • 34
  • 1
    Possible duplicate of [solrj api for partial document update](http://stackoverflow.com/questions/12183798/solrj-api-for-partial-document-update) – cheffe Dec 02 '16 at 12:54

1 Answers1

-1

yes there is a way to update the solr document partially . Here is the link to tutorial which describes this feature link to document

I think your question can be duplicate of this .

solr update specific fields rather than entire document

Community
  • 1
  • 1
Navnath
  • 133
  • 1
  • 9
  • 2
    OP asks if it is possible to trigger that mechanism via the SolrJ API. Appears that he know that partial works. – cheffe Dec 02 '16 at 12:52