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

Hoss Man updated SOLR-2599:
---------------------------

    Attachment: SOLR-2599-hoss.patch

Jan: inspired by your patch and tests, i hacked up a new version that 
incorporates all my previous comments...

* CloneFieldUpdateProcessorFactory 
** handles just the core field cloning
** source can be simple filed name, or the various "selector" style args from 
FieldMutatingUpdateProcessorFactory
* TruncateFieldUpdateProcessorFactory
** FieldMutatingUpdateProcessorFactory
** implements the 'max chars' style logic
* IgnoreFieldUpdateProcessorFactory
** FieldMutatingUpdateProcessorFactory
** removes fields from the document

...take a look at the javadocs and test case and lemme know what you think.  
I'm pretty sure combinations of these three processors cover all of the 
examples from your test case.
                
> FieldCopy Update Processor
> --------------------------
>
>                 Key: SOLR-2599
>                 URL: https://issues.apache.org/jira/browse/SOLR-2599
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>             Fix For: 4.0
>
>         Attachments: SOLR-2599-hoss.patch, SOLR-2599.patch, SOLR-2599.patch
>
>
> Need an UpdateProcessor which can copy and move fields

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to