Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ValueSourceFilter

    Lucene.Net.Search.Filter that matches all documents where a Lucene.Net.Queries.Function.ValueSource is in between a range of Min and Max inclusive.

    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
    ValueSourceFilter
    Inherited Members
    Filter.NewAnonymous(Func<AtomicReaderContext, IBits, DocIdSet>)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Spatial.Util
    Assembly: Lucene.Net.Spatial.dll
    Syntax
    public class ValueSourceFilter : Filter

    Constructors

    | Improve this Doc View Source

    ValueSourceFilter(Filter, ValueSource, Double, Double)

    Declaration
    public ValueSourceFilter(Filter startingFilter, ValueSource source, double min, double max)
    Parameters
    Type Name Description
    Lucene.Net.Search.Filter startingFilter
    Lucene.Net.Queries.Function.ValueSource source
    System.Double min
    System.Double max

    Properties

    | Improve this Doc View Source

    Max

    Declaration
    public double Max { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Min

    Declaration
    public double Min { get; }
    Property Value
    Type Description
    System.Double

    Methods

    | 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)
    • 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.