Class ShapeFieldCacheProvider<T>
Provides access to a
ShapeFieldCache<T>
for a given
AtomicReader.
If a Cache does not exist for the TextReader, then it is built by iterating over
the all terms for a given field, reconstructing the Shape from them, and adding
them to the Cache.
Inheritance
System.Object
ShapeFieldCacheProvider<T>
Assembly: Lucene.Net.Spatial.dll
Syntax
public abstract class ShapeFieldCacheProvider<T> : object where T : IShape
Type Parameters
Constructors
|
Improve this Doc
View Source
ShapeFieldCacheProvider(String, Int32)
Declaration
public ShapeFieldCacheProvider(string shapeField, int defaultSize)
Parameters
Type |
Name |
Description |
System.String |
shapeField |
|
System.Int32 |
defaultSize |
|
Fields
|
Improve this Doc
View Source
m_defaultSize
Declaration
protected readonly int m_defaultSize
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
m_shapeField
Declaration
protected readonly string m_shapeField
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
GetCache(AtomicReader)
Declaration
public virtual ShapeFieldCache<T> GetCache(AtomicReader reader)
Parameters
Returns
|
Improve this Doc
View Source
ReadShape(BytesRef)
Declaration
protected abstract T ReadShape(BytesRef term)
Parameters
Returns