lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-3670) CountFieldValuesUpdateProcessorFactory
Date Tue, 14 Aug 2012 00:43:38 GMT

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

Hoss Man resolved SOLR-3670.
----------------------------

       Resolution: Fixed
    Fix Version/s: 5.0

Committed revision 1372687. trunk
Committed revision 1372689. 4x

                
> CountFieldValuesUpdateProcessorFactory
> --------------------------------------
>
>                 Key: SOLR-3670
>                 URL: https://issues.apache.org/jira/browse/SOLR-3670
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 5.0, 4.0
>
>         Attachments: SOLR-3670.patch
>
>
> Common usecase is to want to search on the number of values in a multivalued field.
> we should add a FieldMutationUpdateProcessorFactory that makes this easy...
> {noformat}
> <processor class="solr.CloneFieldUpdateProcessorFactory">
>  <str name="source">category</str>
>  <str name="dest">number_of_categories_i</str>
> </processor>
> <processor class="solr.CountFieldValuesUpdateProcessorFactory">
>  <str name="fieldName">number_of_categories_i</str>
> </processor
> {noformat}

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