Solr – Updating Documents:

In this tutorial, we will learn about updating the existing documents of an index.By Using the Request Handler we can Update the documents to the index.Below is the example to update documents to the index.

In the below Example you can observe we have changed the data inside the fields.

The above XML can be used to update a document in Solr. If you execute the above command in documents tab in Solr, below is the result if you search for i2sonics.