You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2017/10/19 14:08:00 UTC

[jira] [Commented] (SOLR-10858) Make UUIDUpdateProcessorFactory as Runtime URP; take params(s) with request

    [ https://issues.apache.org/jira/browse/SOLR-10858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211083#comment-16211083 ] 

Cassandra Targett commented on SOLR-10858:
------------------------------------------

This issue is listed in CHANGES for 7.1, but it's not resolved and the fixVersion is 7.2 here - is it in 7.1?

> 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: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: update
>            Reporter: Amrit Sarkar
>            Assignee: Noble Paul
>            Priority: Minor
>             Fix For: 7.2, master (8.0)
>
>         Attachments: SOLR-10858.patch, SOLR-10858.patch, SOLR-10858.patch, SOLR-10858.patch, SOLR-10858.patch, SOLR-10858.patch, SOLR-10858.patch, SOLR-10858.patch
>
>
> 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.4.14#64029)

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