You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2012/05/13 04:14:48 UTC

[jira] [Created] (LUCENE-4052) resurrection of Hits

Robert Muir created LUCENE-4052:
-----------------------------------

             Summary: resurrection of Hits
                 Key: LUCENE-4052
                 URL: https://issues.apache.org/jira/browse/LUCENE-4052
             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (LUCENE-4052) resurrection of Hits

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274140#comment-13274140 ] 

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 scenes
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: https://issues.apache.org/jira/browse/LUCENE-4052
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (LUCENE-4052) resurrection of Hits

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-4052:
--------------------------------

    Attachment: LUCENE-4052.patch

Patch after svn copying Hit/Hits/HitIterator from lucene 2.9 branch.
                
> resurrection of Hits
> --------------------
>
>                 Key: LUCENE-4052
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4052
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (LUCENE-4052) resurrection of Hits

Posted by "Chris Male (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274134#comment-13274134 ] 

Chris Male commented on LUCENE-4052:
------------------------------------

What are the benefits of Hits?
                
> resurrection of Hits
> --------------------
>
>                 Key: LUCENE-4052
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4052
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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