[jira] [Created] (SOLR-3670) CountFieldValuesUpdateProcessorFactory

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SOLR-3670) CountFieldValuesUpdateProcessorFactory

JIRA jira@apache.org
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (SOLR-3670) CountFieldValuesUpdateProcessorFactory

JIRA jira@apache.org

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

Hoss Man updated SOLR-3670:
---------------------------

    Attachment: SOLR-3670.patch

patch with docs and tests
               

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

Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (SOLR-3670) CountFieldValuesUpdateProcessorFactory

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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