[ https://issues.apache.org/jira/browse/LUCENE-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Hill updated LUCENE-1981: ----------------------------- Attachment: lucene-1981.patch Here's a sample implementation. There are a number of possible ways to do this, but this seemed pretty minimally invasive. Adds one method to IndexReader and subclasses. > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org