You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2016/10/19 03:22:58 UTC
[jira] [Comment Edited] (SOLR-9657) Create a new
TemplateUpdateProcessorFactory
[ https://issues.apache.org/jira/browse/SOLR-9657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15587518#comment-15587518 ]
David Smiley edited comment on SOLR-9657 at 10/19/16 3:22 AM:
--------------------------------------------------------------
This is nice; it'd come in handy for "lat,lon". Can you add at least a one-liner javadoc to the class? And I like that this can work off of Solr request parameters but why doesn't it _also_ work like all the other ones work -- by predefined configuration in solrconfig.xml? I wonder if it's feasible for the URP processing subsystem to be refactored such that *all* URPs could operate in both modes, similarly to how request handlers can be. It'd be great to not have this inconsistency.
was (Author: dsmiley):
This is nice; it'd come in handle for "lat,lon". Can you add at least a one-liner javadoc to the class? And I like that this can work off of Solr request parameters but why doesn't it _also_ work like all the other ones work -- by predefined configuration in solrconfig.xml? I wonder if it's feasible for the URP processing subsystem to be refactored such that *all* URPs could operate in both modes, similarly to how request handlers can be. It'd be great to not have this inconsistency.
> Create a new TemplateUpdateProcessorFactory
> -------------------------------------------
>
> Key: SOLR-9657
> URL: https://issues.apache.org/jira/browse/SOLR-9657
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Attachments: SOLR-9657.patch
>
>
> Unlike other URPs, this will operate on request parameters
> example:
> {code}
> processor=Template&Template.field=fname:${somefield}some_string${someotherfield}
> {code}
> The actual name of the class is {{TemplateUpdateProcessorFactory}} and it is possible to optionally drop the {{UpdateProcessorfactory}} part. The {{Template.field}} specifies a field name as well as a template. The {{Template.field}} parameter is multivalued , so , it is possible to add multiple fields or a multivalued field with same name
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org