lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amrit Sarkar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-10858) Make UUIDUpdateProcessorFactory as Runtime URP; take params(s) with request
Date Fri, 09 Jun 2017 16:17:18 GMT

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

Amrit Sarkar updated SOLR-10858:
--------------------------------
    Summary: Make UUIDUpdateProcessorFactory as Runtime URP; take params(s) with request 
(was: Make UUIDUpdateProcessorFactory as Runtime URP; take params(s) in Request not in Solrconfig)

> Make UUIDUpdateProcessorFactory as Runtime URP; take params(s) with request
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-10858
>                 URL: https://issues.apache.org/jira/browse/SOLR-10858
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: update
>            Reporter: Amrit Sarkar
>            Priority: Minor
>         Attachments: SOLR-10858.patch
>
>
> 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.
> UUIDUpdateProcessorFactory 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=UUID&UUID.fieldName=id&commit=true
--data-binary {"title": "titleA"}
> {code}
> {code}
>  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"}
> {code}
> {code}
>  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"}
> {code}
> Configuration for UUIDUpdateProcessorFactory in solrconfig.xml is optional.



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

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


Mime
View raw message