lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2636) Create ChainingCollector
Date Fri, 10 Sep 2010 16:13:33 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908068#action_12908068
] 

Shai Erera commented on LUCENE-2636:
------------------------------------

bq. Heh - Solr added a MultiCollector a few weeks ago

Nice :).

bq. ... MultiCollector is a better name

I will rename.

bq. Solr's version also has this

That makes sense. If you eventually run w/ a single Collector, no need to have MultiCollector
in the middle. I'll change MC then to have a private ctor and a static create method. I would
like though for the method to receive a Collector... rather than List, because I think it
simplifies matters on the application's end. And create will filter out all the null ones
...

I'll post a patch soon.

> Create ChainingCollector
> ------------------------
>
>                 Key: LUCENE-2636
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2636
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2636.patch
>
>
> ChainingCollector allows chaining a bunch of Collectors, w/o them needing to know or
care about each other, and be passed into Lucene's search API, since it is a Collector on
its own. It is a convenient, yet useful, class. Will post a patch w/ it shortly.

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


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


Mime
View raw message