lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-2802) Toolkit of UpdateProcessors for modifying document values
Date Thu, 29 Dec 2011 04:08:31 GMT

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

Hoss Man updated SOLR-2802:
---------------------------

    Attachment: SOLR-2802_update_processor_toolkit.patch

Lance: see my 01/Oct/11 comment responding to Erik's nearly identical question (re: scripting)

Updated patch adds some more tools to the tool box...

* HTMLStripFieldUpdateProcessorFactory
* FirstFieldValueUpdateProcessorFactory
* LastFieldValueUpdateProcessorFactory
* MinFieldValueUpdateProcessorFactory
* MaxFieldValueUpdateProcessorFactory

The last 4 are subclasses of a new intermediate base class "FieldValueSubsetUpdateProcessorFactory"
designed to make it easy to write subclasses that want to look at all of the values for a
field as a Collection, and then return some subset of those values. (in these 4 cases, the
subset is always a collection containing a single value)


Working with this patch today was he first time i didn't feel like i needed to tweak the existing
base classes, which has me starting to think that the API is probably gelled enough for mass
consumption.  I'd really like to get some more voices chiming in on what they think of the
field selector configuration schema so we can move forward on getting what's here committed
on trunk, and then iteratively work on adding more concrete subclasses until we're *really*
sure that this API makes sense for people to use when writing subclasses, and then look at
backporting to 3x.

anyone have any opinions on the syntax?

                
> Toolkit of UpdateProcessors for modifying document values
> ---------------------------------------------------------
>
>                 Key: SOLR-2802
>                 URL: https://issues.apache.org/jira/browse/SOLR-2802
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Hoss Man
>         Attachments: SOLR-2802_update_processor_toolkit.patch, SOLR-2802_update_processor_toolkit.patch,
SOLR-2802_update_processor_toolkit.patch
>
>
> Frequently users ask about questions about things where the answer is "you could do it
with an UpdateProcessor" but the number of our of hte box UpdateProcessors is generally lacking
and there aren't even very good base classes for the common case of manipulating field values
when adding documents

--
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


Mime
View raw message