Interface FieldCache
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public interface FieldCache
Properties
Name | Description |
---|---|
Info |
Gets or sets the InfoStream for this FieldCache. If non-null, FieldCacheImpl will warn whenever
entries are created that are not sane according to
Lucene. |
Methods
Name | Description |
---|---|
Get |
Checks the internal cache for an appropriate entry, and if none is
found, reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in |
Get |
EXPERT: Generates an array of CacheEntry objects representing all items currently in the FieldCache. NOTE: These CacheEntry objects maintain a strong refrence to the Cached Values. Maintaining refrences to a CacheEntry the IndexReader associated with it has garbage collected will prevent the Value itself from being garbage collected when the Cache drops the WeakRefrence.
EXPERIMENTAL API: This API is considered extremely advanced and experimental. It may be removed or altered w/o warning in future releases of Lucene.
|
Get |
Checks the internal cache for an appropriate entry, and if none is
found, reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if
none is found, reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if
none is found, reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if none is
found, reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if none is
found, reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if none is
found, reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if none is found,
reads the terms in |
Get |
Checks the internal cache for an appropriate entry, and if none
is found reads the term values in |
Get |
Checks the internal cache for an appropriate entry, and if none
is found, reads the term values in |
Purge(Index |
Expert: drops all cache entries associated with this reader. NOTE: this reader must precisely match the reader that the cache entry is keyed on. If you pass a top-level reader, it usually will have no effect as Lucene now caches at the segment reader level. |
Purge |
EXPERT: Instructs the FieldCache to forcibly expunge all entries
from the underlying caches. This is intended only to be used for
test methods as a way to ensure a known base state of the Cache
(with out needing to rely on GC to free WeakReferences).
EXPERIMENTAL API: This API is considered extremely advanced and experimental. It may be removed or altered w/o warning in future releases of Lucene.
|