Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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.".

    Inheritance
    object
    AbstractQueryMaker
    SpatialFileQueryMaker
    Implements
    IQueryMaker
    Inherited Members
    AbstractQueryMaker.m_qnum
    AbstractQueryMaker.m_queries
    AbstractQueryMaker.m_config
    AbstractQueryMaker.ResetInputs()
    AbstractQueryMaker.PrintQueries()
    AbstractQueryMaker.MakeQuery()
    AbstractQueryMaker.NextQnum()
    AbstractQueryMaker.MakeQuery(int)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    AbstractQueryMaker.PrepareQueries()

    SetConfig(Config)

    Set the properties

    Declaration
    public override void SetConfig(Config config)
    Parameters
    Type Name Description
    Config config
    Overrides
    AbstractQueryMaker.SetConfig(Config)

    Implements

    IQueryMaker
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.