Show / Hide Table of Contents

    Class ContainsPrefixTreeFilter

    Finds docs where its indexed shape Contains the query shape. For use on RecursivePrefixTreeStrategy.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    Filter
    AbstractPrefixTreeFilter
    ContainsPrefixTreeFilter
    Inherited Members
    AbstractPrefixTreeFilter.m_queryShape
    AbstractPrefixTreeFilter.m_fieldName
    AbstractPrefixTreeFilter.m_grid
    AbstractPrefixTreeFilter.m_detailLevel
    Lucene.Net.Search.Filter.NewAnonymous(Func<, , >)
    Namespace: Lucene.Net.Spatial.Prefix
    Assembly: Lucene.Net.Spatial.dll
    Syntax
    public class ContainsPrefixTreeFilter : AbstractPrefixTreeFilter

    Constructors

    | Improve this Doc View Source

    ContainsPrefixTreeFilter(IShape, String, SpatialPrefixTree, Int32, Boolean)

    Declaration
    public ContainsPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, bool multiOverlappingIndexedShapes)
    Parameters
    Type Name Description
    IShape queryShape
    System.String fieldName
    SpatialPrefixTree grid
    System.Int32 detailLevel
    System.Boolean multiOverlappingIndexedShapes

    Fields

    | Improve this Doc View Source

    m_multiOverlappingIndexedShapes

    If the spatial data for a document is comprised of multiple overlapping or adjacent parts, it might fail to match a query shape when doing the CONTAINS predicate when the sum of those shapes contain the query shape but none do individually. Set this to false to increase performance if you don't care about that circumstance (such as if your indexed data doesn't even have such conditions). See LUCENE-5062.

    Declaration
    protected readonly bool m_multiOverlappingIndexedShapes
    Field Value
    Type Description
    System.Boolean

    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

    GetDocIdSet(AtomicReaderContext, IBits)

    Declaration
    public override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
    Parameters
    Type Name Description
    AtomicReaderContext context
    IBits acceptDocs
    Returns
    Type Description
    DocIdSet
    Overrides
    Filter.GetDocIdSet(AtomicReaderContext, IBits)
    | 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)