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

patrick o'leary commented on SOLR-1680:
---------------------------------------

We've just done something like this recently and found the simplest was was to 
modify 
ResponseBuilder with setCustomCollector / getCustomCollector,
update the QueryCommand to include the custom collector.

It gets sticky in the SolrIndexSearcher with caching, and IIRC about 4 places 
to call the collector, the solution works, but is not in anyway elegant.

It would be good to see if we could refactor SolrIndexSearcher first to make it 
more streamlined.  

> 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