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

Shalin Shekhar Mangar commented on SOLR-1680:
---------------------------------------------

bq. Why not broaden this and allow people to pass in their own collectors? 

Yes, that is the general idea, though it would be API driven than 
configuration. Any component should be able to pass a Collector to the various 
SolrIndexSearcher methods.

bq. Also, can you explain a bit more the use case specifically for Field 
Collapse? 

Field Collapsing needs to use a custom collector. Right now the collector is 
hard coded inside SolrIndexSearcher.

bq. Alternatively, given something like LUCENE-2127, we may want Solr to be 
able to make query time decisions about what Collector to use.

I guess that decision should be made by QueryComponent? If so, then the ability 
to pass a custom Collector to SolrIndexSearcher methods should be enough.

> Provide an API to specify custom Collectors
> -------------------------------------------
>
>                 Key: SOLR-1680
>                 URL: https://issues.apache.org/jira/browse/SOLR-1680
>             Project: Solr
>          Issue Type: Sub-task
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Martijn van Groningen
>             Fix For: 1.5
>
>         Attachments: field-collapse-core.patch, SOLR-1680.patch
>
>
> The issue is dedicated to incorporate fieldcollapse's changes to the Solr's 
> core code. 
> We want to make it possible for components to specify custom Collectors in 
> SolrIndexSearcher methods.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to