[ 
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 support for delegating collectors.

This design allows for a "topdocs" collector to be wrapped by "delegating" 
collectors.

The "topdocs" collector collects the doclist and docset. The delegating 
collectors are designed to collect aggregate data of some kind.

The delegating collectors have access to the ResponseBuilder and through that 
can add Maps directly to the SolrQueryResponse.

Both the topdocs collector and the delegating collectors take part in the merge 
of distributed results from shards.

This paves the way for pluggable distributed analytics to be included with 
searches results.

TODO: I believe Maps that are placed in the SolrQueryResponse are automatically 
output but some work needs to be done get them read in the solrj QueryResponse 
class so they can be merged.
                
> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to