Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
Lucene.Net.Spatial.BBox.BBoxStrategy Class Reference

Inherits SpatialStrategy.

Public Member Functions

 BBoxStrategy (SpatialContext ctx, String fieldNamePrefix)
void SetPrecisionStep (int p)
override AbstractField[] CreateIndexableFields (Shape shape)
AbstractField[] CreateIndexableFields (Rectangle bbox)
override ValueSource MakeDistanceValueSource (Point queryPoint)
ValueSource MakeBBoxAreaSimilarityValueSource (Rectangle queryBox)
override ConstantScoreQuery MakeQuery (SpatialArgs args)
Query MakeQueryWithValueSource (SpatialArgs args, ValueSource valueSource)
override Filter MakeFilter (SpatialArgs args)
Query MakeEquals (Rectangle bbox)
Query MakeXDL (bool crossedDateLine)
Query MakeXDL (bool crossedDateLine, Query query)

Public Attributes

readonly String field_bbox
readonly String field_minX
readonly String field_minY
readonly String field_maxX
readonly String field_maxY
readonly String field_xdl
readonly double queryPower = 1.0
readonly double targetPower = 1.0f
int precisionStep = 8

Static Public Attributes

static String SUFFIX_MINX = "__minX"
static String SUFFIX_MAXX = "__maxX"
static String SUFFIX_MINY = "__minY"
static String SUFFIX_MAXY = "__maxY"
static String SUFFIX_XDL = "__xdl"

Protected Member Functions

Query MakeContains (Rectangle bbox)
 Constructs a query to retrieve documents that fully contain the input envelope.

Detailed Description

Definition at line 30 of file BBoxStrategy.cs.

Constructor & Destructor Documentation

Lucene.Net.Spatial.BBox.BBoxStrategy.BBoxStrategy ( SpatialContext  ctx,
String  fieldNamePrefix 

Definition at line 53 of file BBoxStrategy.cs.

Member Function Documentation

override AbstractField [] Lucene.Net.Spatial.BBox.BBoxStrategy.CreateIndexableFields ( Shape  shape)

Definition at line 75 of file BBoxStrategy.cs.

AbstractField [] Lucene.Net.Spatial.BBox.BBoxStrategy.CreateIndexableFields ( Rectangle  bbox)

Definition at line 83 of file BBoxStrategy.cs.

ValueSource Lucene.Net.Spatial.BBox.BBoxStrategy.MakeBBoxAreaSimilarityValueSource ( Rectangle  queryBox)

Definition at line 108 of file BBoxStrategy.cs.

Query Lucene.Net.Spatial.BBox.BBoxStrategy.MakeContains ( Rectangle  bbox)

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

The spatial query

Definition at line 172 of file BBoxStrategy.cs.

override ValueSource Lucene.Net.Spatial.BBox.BBoxStrategy.MakeDistanceValueSource ( Point  queryPoint)

Definition at line 103 of file BBoxStrategy.cs.

Query Lucene.Net.Spatial.BBox.BBoxStrategy.MakeEquals ( Rectangle  bbox)

Definition at line 310 of file BBoxStrategy.cs.

override Filter Lucene.Net.Spatial.BBox.BBoxStrategy.MakeFilter ( SpatialArgs  args)

Definition at line 132 of file BBoxStrategy.cs.

override ConstantScoreQuery Lucene.Net.Spatial.BBox.BBoxStrategy.MakeQuery ( SpatialArgs  args)

Definition at line 114 of file BBoxStrategy.cs.

Query Lucene.Net.Spatial.BBox.BBoxStrategy.MakeQueryWithValueSource ( SpatialArgs  args,
ValueSource  valueSource 

Definition at line 119 of file BBoxStrategy.cs.

Query Lucene.Net.Spatial.BBox.BBoxStrategy.MakeXDL ( bool  crossedDateLine)

Definition at line 464 of file BBoxStrategy.cs.

Query Lucene.Net.Spatial.BBox.BBoxStrategy.MakeXDL ( bool  crossedDateLine,
Query  query 

Definition at line 478 of file BBoxStrategy.cs.

void Lucene.Net.Spatial.BBox.BBoxStrategy.SetPrecisionStep ( int  p)

Definition at line 64 of file BBoxStrategy.cs.

Member Data Documentation

readonly String Lucene.Net.Spatial.BBox.BBoxStrategy.field_bbox

Definition at line 42 of file BBoxStrategy.cs.

readonly String Lucene.Net.Spatial.BBox.BBoxStrategy.field_maxX

Definition at line 45 of file BBoxStrategy.cs.

readonly String Lucene.Net.Spatial.BBox.BBoxStrategy.field_maxY

Definition at line 46 of file BBoxStrategy.cs.

readonly String Lucene.Net.Spatial.BBox.BBoxStrategy.field_minX

Definition at line 43 of file BBoxStrategy.cs.

readonly String Lucene.Net.Spatial.BBox.BBoxStrategy.field_minY

Definition at line 44 of file BBoxStrategy.cs.

readonly String Lucene.Net.Spatial.BBox.BBoxStrategy.field_xdl

Definition at line 47 of file BBoxStrategy.cs.

int Lucene.Net.Spatial.BBox.BBoxStrategy.precisionStep = 8

Definition at line 51 of file BBoxStrategy.cs.

readonly double Lucene.Net.Spatial.BBox.BBoxStrategy.queryPower = 1.0

Definition at line 49 of file BBoxStrategy.cs.

String Lucene.Net.Spatial.BBox.BBoxStrategy.SUFFIX_MAXX = "__maxX"

Definition at line 33 of file BBoxStrategy.cs.

String Lucene.Net.Spatial.BBox.BBoxStrategy.SUFFIX_MAXY = "__maxY"

Definition at line 35 of file BBoxStrategy.cs.

String Lucene.Net.Spatial.BBox.BBoxStrategy.SUFFIX_MINX = "__minX"

Definition at line 32 of file BBoxStrategy.cs.

String Lucene.Net.Spatial.BBox.BBoxStrategy.SUFFIX_MINY = "__minY"

Definition at line 34 of file BBoxStrategy.cs.

String Lucene.Net.Spatial.BBox.BBoxStrategy.SUFFIX_XDL = "__xdl"

Definition at line 36 of file BBoxStrategy.cs.

readonly double Lucene.Net.Spatial.BBox.BBoxStrategy.targetPower = 1.0f

Definition at line 50 of file BBoxStrategy.cs.

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