lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4465) Configurable Collectors
Date Wed, 13 Mar 2013 15:08:13 GMT

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

Joel Bernstein updated SOLR-4465:
---------------------------------

    Attachment: SOLR-4465.patch

Added a very simple delegating collector through the class SumCollectorFactory.

This is a proof of concept for pluggable analytics using delegating collectors.

This patch was created from the Solr 4.1 tag.

To test it, apply the patch to Solr 4.1, load the sample data and issue the following query

http://localhost:8983/solr/collection1/select?q=*:*&wt=xml&indent=true&cl=on&cl.topdocs=default&cl.delegating=sum&cl.sum.groupby=manu_id_s&cl.sum.column=price

Your output will include a lst called sum which contains the output for grouping on the manu_id_s
field and summing the price field.

TODO:

The distributed support for this still needs to be added. 

Collector parameters need to support Solr local params syntax.

                
> Configurable Collectors
> -----------------------
>
>                 Key: SOLR-4465
>                 URL: https://issues.apache.org/jira/browse/SOLR-4465
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 4.1
>            Reporter: Joel Bernstein
>             Fix For: 4.3
>
>         Attachments: SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch,
SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch,
SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch
>
>
> This issue is to add configurable custom collectors to Solr. This expands the design
and work done in issue SOLR-1680 to include:
> 1) CollectorFactory configuration in solconfig.xml
> 2) Http parameters to allow clients to dynamically select a CollectorFactory and construct
a custom Collector.
> 3) Make aspects of QueryComponent pluggable so that the output from distributed search
can conform with custom collectors at the shard level.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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