Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class AbstractVisitingPrefixTreeFilter

    Traverses a SpatialPrefixTree indexed field, using the template & visitor design patterns for subclasses to guide the traversal and collect matching documents.

    Subclasses implement Lucene.Net.Search.Filter.GetDocIdSet(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits) by instantiating a custom VisitorTemplate subclass (i.e. an anonymous inner class) and implement the required methods.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    Lucene.Net.Search.Filter
    AbstractPrefixTreeFilter
    AbstractVisitingPrefixTreeFilter
    IntersectsPrefixTreeFilter
    WithinPrefixTreeFilter
    Inherited Members
    AbstractPrefixTreeFilter.m_queryShape
    AbstractPrefixTreeFilter.m_fieldName
    AbstractPrefixTreeFilter.m_grid
    AbstractPrefixTreeFilter.m_detailLevel
    AbstractPrefixTreeFilter.Equals(Object)
    AbstractPrefixTreeFilter.GetHashCode()
    Lucene.Net.Search.Filter.GetDocIdSet(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits)
    Filter.NewAnonymous(Func<AtomicReaderContext, IBits, DocIdSet>)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Spatial.Prefix
    Assembly: Lucene.Net.Spatial.dll
    Syntax
    public abstract class AbstractVisitingPrefixTreeFilter : AbstractPrefixTreeFilter

    Constructors

    | Improve this Doc View Source

    AbstractVisitingPrefixTreeFilter(IShape, String, SpatialPrefixTree, Int32, Int32)

    Declaration
    protected AbstractVisitingPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, int prefixGridScanLevel)
    Parameters
    Type Name Description
    Spatial4n.Shapes.IShape queryShape
    System.String fieldName
    SpatialPrefixTree grid
    System.Int32 detailLevel
    System.Int32 prefixGridScanLevel

    Properties

    | Improve this Doc View Source

    PrefixGridScanLevel

    Declaration
    public int PrefixGridScanLevel { get; }
    Property Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.