lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-2802) Toolkit of UpdateProcessors for modifying document values
Date Thu, 09 Feb 2012 21:32:57 GMT


Robert Muir commented on SOLR-2802:

I think the min/max is strange: it catches ClassCastException (as hoss explained on dev list):
 * If this is not the case, then the full list of all values found will be 
 * used as is.

In my opinion, I think if a user asks for min or max or some other computation, and this is
not possible,
it should return an error? otherwise why did they configure this in their chain? 

I don't think its friendly to just sneakily act as a no-op instead...

Moreover, the root cause of the eclipse-compiler problems I think is because its not taking
I think min/max should not extend this type-unsafe Subset base, as they should not return
a subset anyway, 
but a singleton, and the input must be comparable... 
> Toolkit of UpdateProcessors for modifying document values
> ---------------------------------------------------------
>                 Key: SOLR-2802
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 4.0
>         Attachments: SOLR-2802_update_processor_toolkit.patch, SOLR-2802_update_processor_toolkit.patch,
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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message