You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jacek Migdal (JIRA)" <ji...@apache.org> on 2016/02/16 12:47:18 UTC

[jira] [Commented] (LUCENE-7029) We need a better way to retrieve many documents at same time

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

Jacek Migdal commented on LUCENE-7029:
--------------------------------------

After reading the code, realized that already some work has been done to optimize that:
https://issues.apache.org/jira/browse/LUCENE-6115

> We need a better way to retrieve many documents at same time
> ------------------------------------------------------------
>
>                 Key: LUCENE-7029
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7029
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/codecs, core/index
>            Reporter: Jacek Migdal
>
> My use case involve that in some situations I need to get a lot of documents from the index. Most of my documents are small (less than 2KB).
> I use API: IndexReader.document(id, visitor), but I noticed it keeps decompressing same block over and over again.
> If we have an api that let's me get many documents at once, I could do the same job way faster.
> After some experiment I realized I can get 2x+ gains on performance with this simple feature.
> Disclaimer: I'm a newbie to lucene project. I truly appreciate hard work by all contributors for this awesome library. I would be more than happy to contribute back and get my hands dirty. Any help and pointers is more than welcomed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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