Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class IntersectsPrefixTreeFilter

    A Filter matching documents that have an Spatial4n.Shapes.SpatialRelation.INTERSECTS (i.e. not DISTINCT) relationship with a provided query shape.

    Note

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

    Inheritance
    object
    Filter
    AbstractPrefixTreeFilter
    AbstractVisitingPrefixTreeFilter
    IntersectsPrefixTreeFilter
    Inherited Members
    AbstractVisitingPrefixTreeFilter.PrefixGridScanLevel
    AbstractPrefixTreeFilter.m_queryShape
    AbstractPrefixTreeFilter.m_fieldName
    AbstractPrefixTreeFilter.m_grid
    AbstractPrefixTreeFilter.m_detailLevel
    Filter.NewAnonymous(Func<AtomicReaderContext, IBits, DocIdSet>)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Spatial.Prefix
    Assembly: Lucene.Net.Spatial.dll
    Syntax
    public class IntersectsPrefixTreeFilter : AbstractVisitingPrefixTreeFilter

    Constructors

    IntersectsPrefixTreeFilter(IShape, string, SpatialPrefixTree, int, int, bool)

    A Filter matching documents that have an Spatial4n.Shapes.SpatialRelation.INTERSECTS (i.e. not DISTINCT) relationship with a provided query shape.

    Note

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

    Declaration
    public IntersectsPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, int prefixGridScanLevel, bool hasIndexedLeaves)
    Parameters
    Type Name Description
    IShape queryShape
    string fieldName
    SpatialPrefixTree grid
    int detailLevel
    int prefixGridScanLevel
    bool hasIndexedLeaves

    Methods

    Equals(object?)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object? o)
    Parameters
    Type Name Description
    object o
    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    AbstractPrefixTreeFilter.Equals(object?)

    GetDocIdSet(AtomicReaderContext, IBits)

    A Filter matching documents that have an Spatial4n.Shapes.SpatialRelation.INTERSECTS (i.e. not DISTINCT) relationship with a provided query shape.

    Note

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

    Declaration
    public override DocIdSet? GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
    Parameters
    Type Name Description
    AtomicReaderContext context
    IBits acceptDocs
    Returns
    Type Description
    DocIdSet
    Overrides
    Lucene.Net.Search.Filter.GetDocIdSet(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits)
    Exceptions
    Type Condition
    IOException

    GetHashCode()

    LUCENENET specific: need to override GetHashCode to prevent a compiler warning and realistically, the hash code should work similarly to Equals.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    AbstractPrefixTreeFilter.GetHashCode()
    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.