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] [Comment Edited] (SOLR-4465) Configurable Collectors
Date Thu, 14 Mar 2013 22:32:15 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602838#comment-13602838
] 

Joel Bernstein edited comment on SOLR-4465 at 3/14/13 10:31 PM:
----------------------------------------------------------------

Added the merge() method to the SumCollectorFactory. This adds the distributed support for
the proof of concept for pluggable analytics using delegating collectors.

Also changed the parameter spec to use ordinals to send parameters to the correct collector.
For example if three delegating collectors are specified as:

cl.delegating=sum,ave,min

The ordinals for the three collectors would be 0,1,2.

To pass parameters to sum collector factory you include the ordinal after the "cl".

For example:

cl.0.groupby=manu

Tells the collector at ordinal 0 (sum) to groupby the manu field.

Also changed caching logic so that if delegating collectors are used QueryResultCaching is
turned off.

TODO: 

Test, Test cases.

Update the Description of this ticket to include full specification.
                
      was (Author: joel.bernstein):
    Added the merge() method to the SumCollectorFactory. This adds the distributed support
for the proof of concept fot pluggable analytics using delegating collectors.

Also changed the parameter spec to use ordinals to send parameters to the correct collector.
For example if three delegating collectors are specified as:

cl.delegating=sum,ave,min

The ordinals for the three collectors would be 0,1,2.

To pass parameters to sum collector factory you include the ordinal after the "cl".

For example:

cl.0.groupby=manu

Tells the collector at ordinal 0 (sum) to groupby the manu field.

Also changed caching logic so that if delegating collectors are used QueryResultCaching is
turned off.

TODO: 

Test, Test cases.

Update the Description of this ticket to include full specification.
                  
> 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, 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