Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Namespace Lucene.Net.Facet.Range

    Provides range faceting capabilities.

    Classes

    DoubleRange

    Represents a range over double values.

    Note

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

    DoubleRangeFacetCounts

    Facets implementation that computes counts for dynamic double ranges from a provided Lucene.Net.Queries.Function.ValueSource, using Lucene.Net.Queries.Function.FunctionValues.DoubleVal(System.Int32) or Lucene.Net.Queries.Function.FunctionValues.DoubleVal(System.Int32,System.Double[]). Use this for dimensions that change in real-time (e.g. a relative time based dimension like "Past day", "Past 2 days", etc.) or that change for each request (e.g. distance from the user's location, "< 1 km", "< 2 km", etc.).

    If you had indexed your field using Lucene.Net.Documents.SingleDocValuesField then pass Lucene.Net.Queries.Function.ValueSources.SingleFieldSource as the Lucene.Net.Queries.Function.ValueSource; if you used Lucene.Net.Documents.DoubleDocValuesField then pass Lucene.Net.Queries.Function.ValueSources.DoubleFieldSource (this is the default used when you pass just a the field name). @lucene.experimental

    Int64Range

    Represents a range over System.Int64 values.

    NOTE: This was LongRange in Lucene

    Note

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

    Int64RangeFacetCounts

    Facets implementation that computes counts for dynamic long ranges from a provided Lucene.Net.Queries.Function.ValueSource, using Lucene.Net.Queries.Function.FunctionValues.Int64Val(System.Int32) or Lucene.Net.Queries.Function.FunctionValues.Int64Val(System.Int32,System.Int64[]). Use this for dimensions that change in real-time (e.g. a relative time based dimension like "Past day", "Past 2 days", etc.) or that change for each request (e.g. distance from the user's location, "< 1 km", "< 2 km", etc.).

    NOTE: This was LongRangeFacetCounts in Lucene

    Note

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

    Range

    Base class for a single labeled range.

    Note

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

    RangeFacetCounts

    Base class for range faceting.

    Note

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

    • Improve this Doc
    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.