Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class DisjointSpatialFilter

    A Spatial Filter implementing IsDisjointTo in terms of a SpatialStrategy's support for Intersects. A document is considered disjoint if it has spatial data that does not intersect with the query shape. Another way of looking at this is that it's a way to invert a query shape.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    System.Object
    Lucene.Net.Search.Filter
    DisjointSpatialFilter
    Inherited Members
    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
    Assembly: Lucene.Net.Spatial.dll
    Syntax
    public class DisjointSpatialFilter : Filter

    Constructors

    | Improve this Doc View Source

    DisjointSpatialFilter(SpatialStrategy, SpatialArgs, String)

    Declaration
    public DisjointSpatialFilter(SpatialStrategy strategy, SpatialArgs args, string field)
    Parameters
    Type Name Description
    SpatialStrategy strategy

    Needed to compute intersects

    SpatialArgs args

    Used in spatial intersection

    System.String field

    This field is used to determine which docs have spatial data via GetDocsWithField(AtomicReader, String). Passing null will assume all docs have spatial data.

    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
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetDocIdSet(AtomicReaderContext, IBits)

    Declaration
    public override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
    Parameters
    Type Name Description
    Lucene.Net.Index.AtomicReaderContext context
    Lucene.Net.Util.IBits acceptDocs
    Returns
    Type Description
    Lucene.Net.Search.DocIdSet
    Overrides
    Lucene.Net.Search.Filter.GetDocIdSet(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits)
    Exceptions
    Type Condition
    System.IO.IOException
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.