Quantcast
Channel: Updating document in solr - Stack Overflow
Browsing all 4 articles
Browse latest View live

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 Article



Answer 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 Article

Answer by user3331198 for Updating document in solr

Set <uniqueKey>id</uniqueKey> in your solr schema.xml

View Article

Updating 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
Browsing all 4 articles
Browse latest View live




Latest Images