lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4052) resurrection of Hits
Date Sun, 13 May 2012 02:50:48 GMT


Robert Muir commented on LUCENE-4052:

It is an easy way to iterate over search results (that hides the re-searching behind
the scenes itself and presents just a simple iterator API).

Some problems before involved using a Hits over a closed reader (now this is always detected),
and also the iteration triggered re-searches (we can ourselves use searchAfter behind the
to make this more efficient).

So hits can actually be made pretty efficient and easy.

We should fixup more of the api (this is just a patch to get it compiling), and maybe change
it to actually iterate over pages or something even easier (e.g. specify docs per page in
the ctor).

Also really this should go in the sandbox :)

> resurrection of Hits
> --------------------
>                 Key: LUCENE-4052
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-4052.patch
> I think we should bring back Hits (easy to use), but with less problems than before.
> We should fix LUCENE-3514 and then we can always use searchAfter on this thing so
> that it never uses too much RAM. also we can clean up other wierd parts about it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message