|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldLoadingStrategy
Using as composition in implementations of query.collector.FieldCacheCollector
,
so that we can reuse different loading strategies in different kinds
of Collectors.
query.collector.BigArrayFieldCacheCollectorImpl
,
query.collector.MapFieldCacheCollectorImpl
Method Summary | |
---|---|
Object |
collect(int relativeDocId)
The collector wants to pick a specific element from the cache. |
void |
loadNewCacheValues(org.apache.lucene.index.IndexReader reader)
A new IndexReader is opened - implementations usually need this to load the next array of cached data. |
Method Detail |
---|
void loadNewCacheValues(org.apache.lucene.index.IndexReader reader) throws IOException
reader
- the IndexReader
for which to load the new cache values
IOException
- in case an error occurs reading the cache values from the indexObject collect(int relativeDocId)
relativeDocId
- the doc id relative to the current reader
relativeDocId
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |