Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We are trying to get rid of processor definitions in SolrConfig for all URPs and take parameters in the request itself.
ClassificationUpdateProcessorFactory 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=Classification&classification.fieldName=url_s&classification.classField=training&commit=true --data-binary { "id" : "1" , "url_s" : "http://www.example.com/subroot" }
All the param(s) for this URP available can be passed as request handler param(s).
Configuration for ClassificationUpdateProcessorFactory in solrconfig.xml is optional.