lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1981) Allow access to entries in the field cache
Date Tue, 13 Oct 2009 17:25:31 GMT

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

Yonik Seeley commented on LUCENE-1981:
--------------------------------------

We shouldn't tie IndexReader/SegmentReader to the fieldCache.
All of the public APIs already exist to use the FieldCache instead of  document().

> Allow access to entries in the field cache
> ------------------------------------------
>
>                 Key: LUCENE-1981
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1981
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>    Affects Versions: 2.9
>            Reporter: Tom Hill
>            Priority: Minor
>         Attachments: lucene-1981.patch
>
>
> If the data required is already in the field cache, it seems unnecessary to go to the
disk for it, if the data is already in RAM.
> We have a case where we need one field from a large number (500 -1000) of scattered documents
in a fairly large index (50-100m docs), and seek time to collect the data from disk is prohibitive,
so we'd like to grab the data from the cache, instead.

-- 
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message