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.
URLClassifyProcessorFactory 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=URLClassify&urlclassify.inputField=fieldA&urlclassify.lengthOutputField=fieldB&urlclassify.levelsOutputField=fieldC&urlclassify.toplevelOutputField=fieldD&urlclassify.landingpageOutputField=fieldE&urlclassify.domainOutputField=fieldF&urlclassify.canonicalUrlOutputField=fieldG&commit=true --data-binary {"id" : "1", "fieldA" : "valueA"}
Configuration for URLClassifyProcessorFactory in solrconfig.xml is optional.