lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2215) paging collector
Date Thu, 25 Mar 2010 09:48:27 GMT

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

Michael McCandless commented on LUCENE-2215:
--------------------------------------------

This is a neat collector!

I like the idea of chaining/filtering... couldn't we put this in core
(under TFC/TSDC.create), but instead of doubling the 12 specialized
(anonymous) impls we now have, just delegate?

Ie, we'd make a FilteredCollector, taking another collector when it's
created, and then on every collect call, only if the hit is "weak"
enough (ie is worse than what the app provided as prev low score/doc)
would it forward it to the delegate?  I guess we should test perf w/
(the new additions to benchmark -- yay!) to see if specializing the
code (even anonymously) is warranted.

The indent whitespace needs to fixed to 2 spaces...


> paging collector
> ----------------
>
>                 Key: LUCENE-2215
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2215
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 2.4, 3.0
>            Reporter: Adam Heinz
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: IterablePaging.java, LUCENE-2215.patch, PagingCollector.java, TestingPagingCollector.java
>
>
> http://issues.apache.org/jira/browse/LUCENE-2127?focusedCommentId=12796898&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12796898
> Somebody assign this to Aaron McCurry and we'll see if we can get enough votes on this
issue to convince him to upload his patch.  :)

-- 
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message