Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class RecursivePrefixTreeStrategy

    A PrefixTreeStrategy which uses AbstractVisitingPrefixTreeFilter. This strategy has support for searching non-point shapes (note: not tested). Even a query shape with distErrPct=0 (fully precise to the grid) should have good performance for typical data, unless there is a lot of indexed data coincident with the shape's edge.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    SpatialStrategy
    PrefixTreeStrategy
    RecursivePrefixTreeStrategy
    Inherited Members
    PrefixTreeStrategy.m_grid
    PrefixTreeStrategy.m_simplifyIndexedCells
    PrefixTreeStrategy.m_defaultFieldValuesArrayLen
    PrefixTreeStrategy.m_distErrPct
    PrefixTreeStrategy.DefaultFieldValuesArrayLen
    PrefixTreeStrategy.DistErrPct
    PrefixTreeStrategy.CreateIndexableFields(IShape)
    PrefixTreeStrategy.CreateIndexableFields(IShape, Double)
    PrefixTreeStrategy.FIELD_TYPE
    PrefixTreeStrategy.MakeDistanceValueSource(IPoint, Double)
    PrefixTreeStrategy.Grid
    SpatialStrategy.m_ctx
    SpatialStrategy.SpatialContext
    SpatialStrategy.FieldName
    SpatialStrategy.MakeDistanceValueSource(IPoint)
    SpatialStrategy.MakeQuery(SpatialArgs)
    SpatialStrategy.MakeRecipDistanceValueSource(IShape)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Spatial.Prefix
    Assembly: Lucene.Net.Spatial.dll
    Syntax
    public class RecursivePrefixTreeStrategy : PrefixTreeStrategy

    Constructors

    | Improve this Doc View Source

    RecursivePrefixTreeStrategy(SpatialPrefixTree, String)

    Declaration
    public RecursivePrefixTreeStrategy(SpatialPrefixTree grid, string fieldName)
    Parameters
    Type Name Description
    SpatialPrefixTree grid
    System.String fieldName

    Fields

    | Improve this Doc View Source

    m_multiOverlappingIndexedShapes

    See m_multiOverlappingIndexedShapes.

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

    m_pointsOnly

    True if only indexed points shall be supported. See Lucene.Net.Spatial.Prefix.IntersectsPrefixTreeFilter.hasIndexedLeaves.

    Declaration
    protected bool m_pointsOnly
    Field Value
    Type Description
    System.Boolean

    Properties

    | Improve this Doc View Source

    PrefixGridScanLevel

    Sets the grid level [1-maxLevels] at which indexed terms are scanned brute-force instead of by grid decomposition. By default this is maxLevels - 4. The final level, maxLevels, is always scanned. Value can be 1 to maxLevels.

    Declaration
    public virtual int PrefixGridScanLevel { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    MakeFilter(SpatialArgs)

    Declaration
    public override Filter MakeFilter(SpatialArgs args)
    Parameters
    Type Name Description
    SpatialArgs args
    Returns
    Type Description
    Lucene.Net.Search.Filter
    Overrides
    SpatialStrategy.MakeFilter(SpatialArgs)
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    SpatialStrategy.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.