Class SpatialFileQueryMaker
Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by ReadShapeFromWkt(string) and then further manipulated via a configurable IShapeConverter. When using point data, it's likely you'll want to configure the shape converter so that the query shapes actually cover a region. The queries are all created & cached in advance. This query maker works in conjunction with SpatialDocMaker. See spatial.alg for a listing of options, in particular the options starting with "query.".
Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class SpatialFileQueryMaker : AbstractQueryMaker, IQueryMaker
Fields
m_distErrPct
Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by ReadShapeFromWkt(string) and then further manipulated via a configurable IShapeConverter. When using point data, it's likely you'll want to configure the shape converter so that the query shapes actually cover a region. The queries are all created & cached in advance. This query maker works in conjunction with SpatialDocMaker. See spatial.alg for a listing of options, in particular the options starting with "query.".
Declaration
protected double m_distErrPct
Field Value
| Type | Description |
|---|---|
| double |
m_operation
Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by ReadShapeFromWkt(string) and then further manipulated via a configurable IShapeConverter. When using point data, it's likely you'll want to configure the shape converter so that the query shapes actually cover a region. The queries are all created & cached in advance. This query maker works in conjunction with SpatialDocMaker. See spatial.alg for a listing of options, in particular the options starting with "query.".
Declaration
protected SpatialOperation m_operation
Field Value
| Type | Description |
|---|---|
| SpatialOperation |
m_score
Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by ReadShapeFromWkt(string) and then further manipulated via a configurable IShapeConverter. When using point data, it's likely you'll want to configure the shape converter so that the query shapes actually cover a region. The queries are all created & cached in advance. This query maker works in conjunction with SpatialDocMaker. See spatial.alg for a listing of options, in particular the options starting with "query.".
Declaration
protected bool m_score
Field Value
| Type | Description |
|---|---|
| bool |
m_shapeConverter
Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by ReadShapeFromWkt(string) and then further manipulated via a configurable IShapeConverter. When using point data, it's likely you'll want to configure the shape converter so that the query shapes actually cover a region. The queries are all created & cached in advance. This query maker works in conjunction with SpatialDocMaker. See spatial.alg for a listing of options, in particular the options starting with "query.".
Declaration
protected IShapeConverter m_shapeConverter
Field Value
| Type | Description |
|---|---|
| IShapeConverter |
m_strategy
Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by ReadShapeFromWkt(string) and then further manipulated via a configurable IShapeConverter. When using point data, it's likely you'll want to configure the shape converter so that the query shapes actually cover a region. The queries are all created & cached in advance. This query maker works in conjunction with SpatialDocMaker. See spatial.alg for a listing of options, in particular the options starting with "query.".
Declaration
protected SpatialStrategy m_strategy
Field Value
| Type | Description |
|---|---|
| SpatialStrategy |
Methods
MakeQueryFromShape(IShape)
Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by ReadShapeFromWkt(string) and then further manipulated via a configurable IShapeConverter. When using point data, it's likely you'll want to configure the shape converter so that the query shapes actually cover a region. The queries are all created & cached in advance. This query maker works in conjunction with SpatialDocMaker. See spatial.alg for a listing of options, in particular the options starting with "query.".
Declaration
protected virtual Query MakeQueryFromShape(IShape shape)
Parameters
| Type | Name | Description |
|---|---|---|
| IShape | shape |
Returns
| Type | Description |
|---|---|
| Query |
PrepareQueries()
Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by ReadShapeFromWkt(string) and then further manipulated via a configurable IShapeConverter. When using point data, it's likely you'll want to configure the shape converter so that the query shapes actually cover a region. The queries are all created & cached in advance. This query maker works in conjunction with SpatialDocMaker. See spatial.alg for a listing of options, in particular the options starting with "query.".
Declaration
protected override Query[] PrepareQueries()
Returns
| Type | Description |
|---|---|
| Query[] |
Overrides
SetConfig(Config)
Set the properties
Declaration
public override void SetConfig(Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config |