Class ShapeFieldCache<T>
Bounded Cache of Shapes associated with docIds. Note, multiple Shapes can be associated with a given docId
WARNING: This class holds the data in an extremely inefficient manner as all Points are in memory as objects and they are stored in many Lists (one per document). So it works but doesn't scale. It will be replaced in the future.
@lucene.internal
Inheritance
System.Object
ShapeFieldCache<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Spatial.dll
Syntax
[Serializable]
public class ShapeFieldCache<T>
where T : IShape
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
ShapeFieldCache(Int32, Int32) |
Properties
Name | Description |
---|---|
DefaultLength |
Methods
Name | Description |
---|---|
Add(Int32, T) | |
GetShapes(Int32) |