[
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: [email protected]
For additional commands, e-mail: [email protected]