incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron McCurry (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BLUR-114) Optimize the row fetch code in the indexmanager to take advantage on the new family field.
Date Sat, 01 Jun 2013 12:05:20 GMT

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

Aaron McCurry commented on BLUR-114:
------------------------------------

Take a look at the IndexManager class, then look at the following method:

public static void fetchRow(IndexReader reader, String table, Selector selector, FetchResult
fetchResult) throws CorruptIndexException, IOException

That methods uses the fetchDocuments method in the BlurUtil class.  But to fetch the documents
it currently just searches for all the documents and iterates over all the documents.  If
the family names from the selector is incorporated then there will be less documents to fetch.

Aaron
                
> Optimize the row fetch code in the indexmanager to take advantage on the new family field.
> ------------------------------------------------------------------------------------------
>
>                 Key: BLUR-114
>                 URL: https://issues.apache.org/jira/browse/BLUR-114
>             Project: Apache Blur
>          Issue Type: Improvement
>    Affects Versions: 0.1.5
>            Reporter: Aaron McCurry
>             Fix For: 0.1.5
>
>
> This could help fetch performance by not having to walk the entire row of records looking
for the correct family records.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message