Description
We are trying to get rid of processor definitions in SolrConfig for all URPs and take parameters in the request itself.
UUIDUpdateProcessorFactory will be able to execute by sample curl like below:
curl -X POST -H Content-Type: application/json http://localhost:8983/solr/test/update/json/docs?processor=uuid&uuid.fieldName=id&commit=true --data-binary {"title": "titleA"}
curl -X POST -H Content-Type: application/json http://localhost:8983/solr/test/update/json/docs?processor=uuid&commit=true --data-binary {"id":"1","title": "titleA"}
curl -X POST -H Content-Type: application/json http://localhost:8983/solr/test/update/json/docs?processor=uuid&uuid.fieldName=id&commit=true --data-binary {"id":"1","title": "titleA"}
Configuration for UUIDUpdateProcessorFactory in solrconfig.xml is optional.