You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2009/10/13 19:25:31 UTC
[jira] Commented: (LUCENE-1981) Allow access to entries in the
field cache
[ 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