C# Class Lucene.Net.Spatial.StrategyTestCase

Inheritance: SpatialTestCase
Exibir arquivo Open project: apache/lucenenet

Public Properties

Property Type Description
DATA_COUNTRIES_BBOX String
DATA_COUNTRIES_POLY String
DATA_SIMPLE_BBOX String
DATA_STATES_BBOX String
DATA_STATES_POLY String
DATA_WORLD_CITIES_POINTS String
QTEST_Cities_Intersects_BBox String
QTEST_Simple_Queries_BBox String
QTEST_States_Intersects_BBox String
QTEST_States_IsWithin_BBox String

Protected Properties

Property Type Description
argsParser Lucene.Net.Spatial.Queries.SpatialArgsParser
storeShape bool
strategy SpatialStrategy

Public Methods

Method Description
runTestQueries ( IEnumerator queries, SpatialMatchConcern concern ) : void
runTestQuery ( SpatialMatchConcern concern, SpatialTestQuery q ) : void

Protected Methods

Method Description
AssertOperation ( IShape>.IDictionary indexedDocs, SpatialOperation operation, IShape queryShape ) : void
CheckValueSource ( ValueSource vs, float scores, float delta ) : void
DeleteDoc ( String id ) : void
adoc ( String id, IShape shape ) : void
adoc ( String id, String shapeStr ) : void
convertShapeFromGetDocuments ( IShape shape ) : IShape
executeQueries ( SpatialMatchConcern concern ) : void
getAddAndVerifyIndexedDocuments ( String testDataFile ) : void
getDocuments ( IEnumerator sampleData ) : List
getDocuments ( String testDataFile ) : List
getSampleData ( String testDataFile ) : IEnumerator
getTestQueries ( String testQueryFile, SpatialContext ctx ) : IEnumerator
makeQuery ( SpatialTestQuery q ) : Query
newDoc ( String id, IShape shape ) : Lucene.Net.Documents.Document

Method Details

AssertOperation() protected method

protected AssertOperation ( IShape>.IDictionary indexedDocs, SpatialOperation operation, IShape queryShape ) : void
indexedDocs IShape>.IDictionary
operation Lucene.Net.Spatial.Queries.SpatialOperation
queryShape IShape
return void

CheckValueSource() protected method

protected CheckValueSource ( ValueSource vs, float scores, float delta ) : void
vs ValueSource
scores float
delta float
return void

DeleteDoc() protected method

protected DeleteDoc ( String id ) : void
id String
return void

adoc() protected method

protected adoc ( String id, IShape shape ) : void
id String
shape IShape
return void

adoc() protected method

protected adoc ( String id, String shapeStr ) : void
id String
shapeStr String
return void

convertShapeFromGetDocuments() protected method

protected convertShapeFromGetDocuments ( IShape shape ) : IShape
shape IShape
return IShape

executeQueries() protected method

protected executeQueries ( SpatialMatchConcern concern ) : void
concern SpatialMatchConcern
return void

getAddAndVerifyIndexedDocuments() protected method

protected getAddAndVerifyIndexedDocuments ( String testDataFile ) : void
testDataFile String
return void

getDocuments() protected method

protected getDocuments ( IEnumerator sampleData ) : List
sampleData IEnumerator
return List

getDocuments() protected method

protected getDocuments ( String testDataFile ) : List
testDataFile String
return List

getSampleData() protected method

protected getSampleData ( String testDataFile ) : IEnumerator
testDataFile String
return IEnumerator

getTestQueries() protected method

protected getTestQueries ( String testQueryFile, SpatialContext ctx ) : IEnumerator
testQueryFile String
ctx Spatial4n.Core.Context.SpatialContext
return IEnumerator

makeQuery() protected method

protected makeQuery ( SpatialTestQuery q ) : Query
q SpatialTestQuery
return Lucene.Net.Search.Query

newDoc() protected method

protected newDoc ( String id, IShape shape ) : Lucene.Net.Documents.Document
id String
shape IShape
return Lucene.Net.Documents.Document

runTestQueries() public method

public runTestQueries ( IEnumerator queries, SpatialMatchConcern concern ) : void
queries IEnumerator
concern SpatialMatchConcern
return void

runTestQuery() public method

public runTestQuery ( SpatialMatchConcern concern, SpatialTestQuery q ) : void
concern SpatialMatchConcern
q SpatialTestQuery
return void

Property Details

DATA_COUNTRIES_BBOX public_oe static_oe property

public static String DATA_COUNTRIES_BBOX
return String

DATA_COUNTRIES_POLY public_oe static_oe property

public static String DATA_COUNTRIES_POLY
return String

DATA_SIMPLE_BBOX public_oe static_oe property

public static String DATA_SIMPLE_BBOX
return String

DATA_STATES_BBOX public_oe static_oe property

public static String DATA_STATES_BBOX
return String

DATA_STATES_POLY public_oe static_oe property

public static String DATA_STATES_POLY
return String

DATA_WORLD_CITIES_POINTS public_oe static_oe property

public static String DATA_WORLD_CITIES_POINTS
return String

QTEST_Cities_Intersects_BBox public_oe static_oe property

public static String QTEST_Cities_Intersects_BBox
return String

QTEST_Simple_Queries_BBox public_oe static_oe property

public static String QTEST_Simple_Queries_BBox
return String

QTEST_States_Intersects_BBox public_oe static_oe property

public static String QTEST_States_Intersects_BBox
return String

QTEST_States_IsWithin_BBox public_oe static_oe property

public static String QTEST_States_IsWithin_BBox
return String

argsParser protected_oe property

protected SpatialArgsParser,Lucene.Net.Spatial.Queries argsParser
return Lucene.Net.Spatial.Queries.SpatialArgsParser

storeShape protected_oe property

protected bool storeShape
return bool

strategy protected_oe property

protected SpatialStrategy,Lucene.Net.Spatial strategy
return SpatialStrategy