Tag Archives: updaterequestprocessor

Add/Update UpdateRequestProcessor using SolrJ

While it is not possible to add a new UpdateRequestProcessorChain, there is a Config API to add/update/delete UpdateProcessor. Following is how its done using SolrJ. String command = “{\”update-updateprocessor\”: {“name”: “myprocessor”, “class”: “solr.FirstFieldValueUpdateProcessorFactory”, “fieldName”: “test_s”} }}”; GenericSolrRequest rq = new GenericSolrRequest(SolrRequest.METHOD.POST, … Continue reading

Posted in Thechy Stuff | Tagged , | Leave a comment