Package | Description |
---|---|
org.apache.lucene.uninverting |
Support for creating docvalues on-the-fly from the inverted index at runtime.
|
Modifier and Type | Field and Description |
---|---|
private FieldCache.CacheEntry[] |
FieldCacheSanityChecker.Insanity.entries |
Modifier and Type | Method and Description |
---|---|
FieldCache.CacheEntry[] |
FieldCache.getCacheEntries()
EXPERT: Generates an array of CacheEntry objects representing all items
currently in the FieldCache.
|
FieldCache.CacheEntry[] |
FieldCacheImpl.getCacheEntries() |
FieldCache.CacheEntry[] |
FieldCacheSanityChecker.Insanity.getCacheEntries()
CacheEntry objects which suggest a problem
|
Modifier and Type | Method and Description |
---|---|
FieldCacheSanityChecker.Insanity[] |
FieldCacheSanityChecker.check(FieldCache.CacheEntry... cacheEntries)
Tests a CacheEntry[] for indication of "insane" cache usage.
|
static FieldCacheSanityChecker.Insanity[] |
FieldCacheSanityChecker.checkSanity(FieldCache.CacheEntry... cacheEntries)
Quick and dirty convenience method that instantiates an instance with
"good defaults" and uses it to test the CacheEntrys
|
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<FieldCacheSanityChecker.Insanity> |
FieldCacheSanityChecker.checkSubreaders(MapOfSets<java.lang.Integer,FieldCache.CacheEntry> valIdToItems,
MapOfSets<FieldCacheSanityChecker.ReaderField,java.lang.Integer> readerFieldToValIds)
Internal helper method used by check that iterates over
the keys of readerFieldToValIds and generates a Collection
of Insanity instances whenever two (or more) ReaderField instances are
found that have an ancestry relationships.
|
private java.util.Collection<FieldCacheSanityChecker.Insanity> |
FieldCacheSanityChecker.checkValueMismatch(MapOfSets<java.lang.Integer,FieldCache.CacheEntry> valIdToItems,
MapOfSets<FieldCacheSanityChecker.ReaderField,java.lang.Integer> readerFieldToValIds,
java.util.Set<FieldCacheSanityChecker.ReaderField> valMismatchKeys)
Internal helper method used by check that iterates over
valMismatchKeys and generates a Collection of Insanity
instances accordingly.
|
Constructor and Description |
---|
Insanity(FieldCacheSanityChecker.InsanityType type,
java.lang.String msg,
FieldCache.CacheEntry... entries) |