Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
Lucene.Net.Spatial.Prefix.PrefixTreeStrategy Class Reference

Abstract SpatialStrategy which provides common functionality for those Strategys which use SpatialPrefixTrees More...

Inherits SpatialStrategy.

Inherited by Lucene.Net.Spatial.Prefix.RecursivePrefixTreeStrategy, and Lucene.Net.Spatial.Prefix.TermQueryPrefixTreeStrategy.

Classes

class  CellTokenStream
 Outputs the tokenString of a cell, and if its a leaf, outputs it again with the leaf byte. More...
 

Public Member Functions

void SetDefaultFieldValuesArrayLen (int defaultFieldValuesArrayLen)
 
override AbstractField[] CreateIndexableFields (Shape shape)
 
AbstractField[] CreateIndexableFields (Shape shape, double distErr)
 
ShapeFieldCacheProvider< Point > GetCacheProvider ()
 
override ValueSource MakeDistanceValueSource (Point queryPoint)
 
SpatialPrefixTree GetGrid ()
 

Protected Member Functions

 PrefixTreeStrategy (SpatialPrefixTree grid, String fieldName)
 

Protected Attributes

readonly SpatialPrefixTree grid
 
int defaultFieldValuesArrayLen = 2
 
double distErrPct = SpatialArgs.DEFAULT_DISTERRPCT
 

Properties

double DistErrPct [get, set]
 The default measure of shape precision affecting indexed and query shapes. Specific shapes at index and query time can use something different.
 

Detailed Description

Abstract SpatialStrategy which provides common functionality for those Strategys which use SpatialPrefixTrees

Definition at line 40 of file PrefixTreeStrategy.cs.

Constructor & Destructor Documentation

Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.PrefixTreeStrategy ( SpatialPrefixTree  grid,
String  fieldName 
)
protected

Definition at line 50 of file PrefixTreeStrategy.cs.

Member Function Documentation

override AbstractField [] Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.CreateIndexableFields ( Shape  shape)

Definition at line 70 of file PrefixTreeStrategy.cs.

AbstractField [] Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.CreateIndexableFields ( Shape  shape,
double  distErr 
)

Definition at line 76 of file PrefixTreeStrategy.cs.

ShapeFieldCacheProvider<Point> Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.GetCacheProvider ( )

Definition at line 148 of file PrefixTreeStrategy.cs.

SpatialPrefixTree Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.GetGrid ( )

Definition at line 171 of file PrefixTreeStrategy.cs.

override ValueSource Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.MakeDistanceValueSource ( Point  queryPoint)

Definition at line 165 of file PrefixTreeStrategy.cs.

void Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.SetDefaultFieldValuesArrayLen ( int  defaultFieldValuesArrayLen)

Definition at line 58 of file PrefixTreeStrategy.cs.

Member Data Documentation

int Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.defaultFieldValuesArrayLen = 2
protected

Definition at line 47 of file PrefixTreeStrategy.cs.

double Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.distErrPct = SpatialArgs.DEFAULT_DISTERRPCT
protected

Definition at line 48 of file PrefixTreeStrategy.cs.

readonly SpatialPrefixTree Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.grid
protected

Definition at line 42 of file PrefixTreeStrategy.cs.

Property Documentation

double Lucene.Net.Spatial.Prefix.PrefixTreeStrategy.DistErrPct
getset

The default measure of shape precision affecting indexed and query shapes. Specific shapes at index and query time can use something different.

See Also
org.apache.lucene.spatial.query.SpatialArgs::getDistErrPct()

Definition at line 68 of file PrefixTreeStrategy.cs.


The documentation for this class was generated from the following file: