[ 
https://issues.apache.org/jira/browse/SOLR-10859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amrit Sarkar updated SOLR-10859:
--------------------------------
    Description: 
As discussed with Noble Paul, 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:

{code}
 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"}
{code}

Configuration for URLClassifyProcessorFactory in solrconfig.xml is optional.

  was:
As discussed with Noble Paul, 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:

{code}
 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"}
{code}

No configuration required for URLClassifyProcessorFactory in solrconfig.xml.


> Make URLClassifyProcessor as Runtime URP; take params(s) in Request not in 
> Solrconfig
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-10859
>                 URL: https://issues.apache.org/jira/browse/SOLR-10859
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: update
>            Reporter: Amrit Sarkar
>            Priority: Minor
>
> As discussed with Noble Paul, 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:
> {code}
>  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"}
> {code}
> Configuration for URLClassifyProcessorFactory in solrconfig.xml is optional.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to