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 GetDocIdSet(AtomicReaderContext, IBits) by instantiating a custom AbstractVisitingPrefixTreeFilter.VisitorTemplate subclass (i.e. an anonymous inner class) and implement the required methods.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    Filter
    AbstractPrefixTreeFilter
    AbstractVisitingPrefixTreeFilter
    IntersectsPrefixTreeFilter
    WithinPrefixTreeFilter
    Inherited Members
    AbstractPrefixTreeFilter.m_queryShape
    AbstractPrefixTreeFilter.m_fieldName
    AbstractPrefixTreeFilter.m_grid
    AbstractPrefixTreeFilter.m_detailLevel
    Filter.GetDocIdSet(AtomicReaderContext, IBits)
    Lucene.Net.Search.Filter.NewAnonymous(Func<, , >)
    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
    public AbstractVisitingPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, int prefixGridScanLevel)
    Parameters
    Type Name Description
    IShape queryShape
    System.String fieldName
    SpatialPrefixTree grid
    System.Int32 detailLevel
    System.Int32 prefixGridScanLevel

    Fields

    | Improve this Doc View Source

    m_prefixGridScanLevel

    Declaration
    protected readonly int m_prefixGridScanLevel
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    System.Object o
    Returns
    Type Description
    System.Boolean
    Overrides
    AbstractPrefixTreeFilter.Equals(Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    AbstractPrefixTreeFilter.GetHashCode()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)