Re: How to specify custom update chain in a SolrJ request

2019-01-29 Thread Chris Wareham
Answering myself, the solution is to update my code as follows: UpdateRequest request = new UpdateRequest(); request.setParam("update.chain", "skipexisting"); for (Map.Entry user : users.entrySet()) { SolrInputDocument document = new SolrInputDocument(); document.addField("id", user.key(

How to specify custom update chain in a SolrJ request

2019-01-29 Thread Chris Wareham
I'm trying to update records in my Solr core, and have configured a custom update chain that skips updates to records that don't exist: true true My SolrJ update code is currently: for (Map.Entry user : users.entrySet()) { SolrInputDocument document = new S