public final class MultiStringFieldLoadingStrategy extends Object implements FieldLoadingStrategy
FieldLoadingStrategy which uses SortedSetDocValues to load fields with multiple values.| Constructor and Description |
|---|
MultiStringFieldLoadingStrategy(String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
collect(int relativeDocId)
The collector wants to pick a specific element from the cache.
|
void |
loadNewCacheValues(org.apache.lucene.index.AtomicReaderContext context)
A new IndexReader is opened - implementations usually need this to
load the next array of cached data.
|
public MultiStringFieldLoadingStrategy(String fieldName)
public void loadNewCacheValues(org.apache.lucene.index.AtomicReaderContext context)
throws IOException
FieldLoadingStrategyloadNewCacheValues in interface FieldLoadingStrategycontext - the AtomicReaderContext for which to load the new cache valuesIOException - in case an error occurs reading the cache values from the indexpublic String[] collect(int relativeDocId)
FieldLoadingStrategycollect in interface FieldLoadingStrategyrelativeDocId - the doc id relative to the current readerrelativeDocId.Copyright © 2006–2015 Hibernate. All rights reserved.