C# Class Lucene.Net.Spatial.Vector.TwoDoublesStrategy

Inheritance: SpatialStrategy
Datei anzeigen Open project: synhershko/lucene.net Class Usage Examples

Public Properties

Property Type Description
SUFFIX_X String
SUFFIX_Y String
precisionStep int

Public Methods

Method Description
CreateIndexableFields ( Shape shape ) : Lucene.Net.Documents.AbstractField[]
GetFieldNameX ( ) : string
GetFieldNameY ( ) : string
MakeFilter ( SpatialArgs args ) : Filter
MakeQuery ( SpatialArgs args ) : Query
MakeValueSource ( SpatialArgs args ) : Lucene.Net.Search.Function.ValueSource
SetPrecisionStep ( int p ) : void
TwoDoublesStrategy ( SpatialContext ctx, String fieldNamePrefix ) : System

Private Methods

Method Description
MakeDisjoint ( Rectangle bbox ) : Query

Constructs a query to retrieve documents that fully contain the input envelope.

MakeWithin ( Rectangle bbox ) : Query

Constructs a query to retrieve documents that fully contain the input envelope.

Method Details

CreateIndexableFields() public method

public CreateIndexableFields ( Shape shape ) : Lucene.Net.Documents.AbstractField[]
shape Shape
return Lucene.Net.Documents.AbstractField[]

GetFieldNameX() public method

public GetFieldNameX ( ) : string
return string

GetFieldNameY() public method

public GetFieldNameY ( ) : string
return string

MakeFilter() public method

public MakeFilter ( SpatialArgs args ) : Filter
args Lucene.Net.Spatial.Queries.SpatialArgs
return Lucene.Net.Search.Filter

MakeQuery() public method

public MakeQuery ( SpatialArgs args ) : Query
args Lucene.Net.Spatial.Queries.SpatialArgs
return Lucene.Net.Search.Query

MakeValueSource() public method

public MakeValueSource ( SpatialArgs args ) : Lucene.Net.Search.Function.ValueSource
args Lucene.Net.Spatial.Queries.SpatialArgs
return Lucene.Net.Search.Function.ValueSource

SetPrecisionStep() public method

public SetPrecisionStep ( int p ) : void
p int
return void

TwoDoublesStrategy() public method

public TwoDoublesStrategy ( SpatialContext ctx, String fieldNamePrefix ) : System
ctx Spatial4n.Core.Context.SpatialContext
fieldNamePrefix String
return System

Property Details

SUFFIX_X public_oe static_oe property

public static String SUFFIX_X
return String

SUFFIX_Y public_oe static_oe property

public static String SUFFIX_Y
return String

precisionStep public_oe property

public int precisionStep
return int