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] [Created] (SOLR-3670) CountFieldValuesUpdateProcessorFactory
Date Tue, 24 Jul 2012 18:13:36 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message