Hoss Man created SOLR-3670:
------------------------------
Summary: 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: 4.0
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]