lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <>
Subject [jira] Commented: (LUCENE-2215) paging collector
Date Fri, 26 Mar 2010 00:26:27 GMT


Grant Ingersoll commented on LUCENE-2215:

Yeah, but one could make the argument, Mike, that the existing "optimizations" are useless
for the most common case, since I think it's safe to say most applications implement paging.
 Of course, that being said, most users don't page all that deeply.  Also, for something like
Solr that prefetches the top 50 it might not be good, either.  Still, in my mind it is one
additional boolean check, as in:
if ( (current stuff) || (pagingInfoPresent == true && paging check) )

pagingInfoPresent can be determined at construction time and that whole clause would be short
circuited very quickly.

That being said, delegation could be done at construction time, too and more cleanly separates
things.  I'll try to put up my version tomorrow.

> paging collector
> ----------------
>                 Key: LUCENE-2215
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 2.4, 3.0
>            Reporter: Adam Heinz
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments:, LUCENE-2215.patch,,
> 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:
For additional commands, e-mail:

View raw message