You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2012/06/06 06:21:29 UTC

[jira] [Updated] (SOLR-2599) FieldCopy Update Processor

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org