Show / Hide Table of Contents

    Class SpatialFileQueryMaker

    Reads spatial data from the body field docs from an internally created LineDocSource. It's parsed by 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
    System.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(Int32)
    Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class SpatialFileQueryMaker : AbstractQueryMaker, IQueryMaker

    Fields

    | Improve this Doc View Source

    m_distErrPct

    Declaration
    protected double m_distErrPct
    Field Value
    Type Description
    System.Double
    | Improve this Doc View Source

    m_operation

    Declaration
    protected SpatialOperation m_operation
    Field Value
    Type Description
    SpatialOperation
    | Improve this Doc View Source

    m_score

    Declaration
    protected bool m_score
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    m_shapeConverter

    Declaration
    protected IShapeConverter m_shapeConverter
    Field Value
    Type Description
    IShapeConverter
    | Improve this Doc View Source

    m_strategy

    Declaration
    protected SpatialStrategy m_strategy
    Field Value
    Type Description
    SpatialStrategy

    Methods

    | Improve this Doc View Source

    MakeQueryFromShape(IShape)

    Declaration
    protected virtual Query MakeQueryFromShape(IShape shape)
    Parameters
    Type Name Description
    IShape shape
    Returns
    Type Description
    Query
    | Improve this Doc View Source

    PrepareQueries()

    Declaration
    protected override Query[] PrepareQueries()
    Returns
    Type Description
    Query[]
    Overrides
    AbstractQueryMaker.PrepareQueries()
    | Improve this Doc View Source

    SetConfig(Config)

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

    Implements

    IQueryMaker
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)