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

Amrit Sarkar edited comment on SOLR-10866 at 6/10/17 1:15 PM:
--------------------------------------------------------------

Patch attached. Test class for TimestampUpdateProcessorFactory is not there in 
the project. Seeking advice whether to create one or we can by-pass this.


was (Author: sarkaramr...@gmail.com):
Patch attached. There is no test class for TimestampUpdateProcessorFactory is 
present. Seeking advice whether to create one or we can by-pass this.

> Make TimestampUpdateProcessorFactory as Runtime URP; take params(s) with 
> request
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-10866
>                 URL: https://issues.apache.org/jira/browse/SOLR-10866
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: update
>            Reporter: Amrit Sarkar
>            Priority: Minor
>         Attachments: SOLR-10866.patch
>
>
> We are trying to get rid of processor definitions in SolrConfig for all URPs 
> and take parameters in the request itself.
> TimestampUpdateProcessorFactory 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=Timestamp&timestamp.fieldName=timestamp_tdt&commit=true
>  --data-binary { "id" : "1" , "title_s" : "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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to