lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <>
Subject [jira] [Commented] (SOLR-5020) Add finish() method to DelegatingCollector
Date Tue, 09 Jul 2013 18:31:49 GMT


Tomás Fernández Löbbe commented on SOLR-5020:

I think the issue Robert refers to is LUCENE-4370. I had a similar requirement once I implemented
a Collector. 
> Add finish() method to DelegatingCollector
> ------------------------------------------
>                 Key: SOLR-5020
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 5.0
>            Reporter: Joel Bernstein
>            Priority: Minor
>             Fix For: 5.0, 4.5
>         Attachments: SOLR-5020.patch
> This issue adds a finish() 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 finish() 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 finish() 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message