Answer by buddy86 for Updating document in solr
I tried with the following code snippet. It's able to do partial update. Try this.SolrServer server = new HttpSolrServer("http://mydomain:8983/solr/index_socialmedia/");SolrInputDocument solrInputDoc =...
View ArticleAnswer by GaneshP for Updating document in solr
Which solr version are you using ? if it is bellow 4.0 ,solr does not support single field update (partial update)so in your case existing old document is deleted and new document is inserted with same...
View ArticleAnswer by user3331198 for Updating document in solr
Set <uniqueKey>id</uniqueKey> in your solr schema.xml
View ArticleUpdating document in solr
I want to update a particular field of a document in solr. However while trying to do so other fields of the document are becoming null. CommonsHttpSolrServer server = new...
View Article
More Pages to Explore .....