You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shikhar Bhushan (JIRA)" <ji...@apache.org> on 2014/05/12 15:16:16 UTC

[jira] [Updated] (LUCENE-4370) Let Collector know when all docs have been collected

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

Shikhar Bhushan updated LUCENE-4370:
------------------------------------

    Attachment: LUCENE-4370.patch

Attaching patch.

I think there is a huge potential for cleanups if this goes in, I'm happy to work on some of that.

> Let Collector know when all docs have been collected
> ----------------------------------------------------
>
>                 Key: LUCENE-4370
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4370
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>    Affects Versions: 4.0-BETA
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: LUCENE-4370.patch, LUCENE-4370.patch
>
>
> Collectors are a good point for extension/customization of Lucene/Solr, however sometimes it's necessary to know when the last document has been collected (for example, for flushing cached data).
> It would be nice to have a method that gets called after the last doc has been collected.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org