You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2013/07/09 19:17:48 UTC

[jira] [Resolved] (SOLR-5020) Add final() method to DelegatingCollector

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

Yonik Seeley resolved SOLR-5020.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.4

Although I'm still questioning "configurable collectors", this issue certainly makes sense on it's own.

Committed 4x & trunk.
                
> Add final() method to DelegatingCollector
> -----------------------------------------
>
>                 Key: SOLR-5020
>                 URL: https://issues.apache.org/jira/browse/SOLR-5020
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 5.0
>            Reporter: Joel Bernstein
>            Priority: Minor
>             Fix For: 5.0, 4.4
>
>         Attachments: SOLR-5020.patch
>
>
> This issue adds a final() method to the DelegatingCollector class so that it can be notified when collection is complete. 
> The current collect() method assumes that the delegating collector will either forward on the document or not with each call. The final() method will allow DelegatingCollectors to have more sophisticated behavior.
> For example a Field Collapsing delegating collector could collapse the documents as the collect() method is being called. Then when the final() method is called it could pass the collapsed documents to the delegate collectors.
> This would allow grouping to be implemented within the PostFilter framework.

--
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