Show / Hide Table of Contents

    Namespace Lucene.Net.Facet.Range

    Provides range faceting capabilities.

    Classes

    DoubleRange

    Represents a range over double values.

    @lucene.experimental

    DoubleRangeFacetCounts

    Facets implementation that computes counts for dynamic double ranges from a provided ValueSource, using DoubleVal(Int32) or DoubleVal(Int32, 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 then pass SingleFieldSource as the ValueSource; if you used then pass DoubleFieldSource (this is the default used when you pass just a the field name). @lucene.experimental

    Int64Range

    Represents a range over values.

    NOTE: This was LongRange in Lucene

    @lucene.experimental

    Int64RangeFacetCounts

    Facets implementation that computes counts for dynamic long ranges from a provided ValueSource, using Int64Val(Int32) or Int64Val(Int32, 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

    @lucene.experimental

    Range

    Base class for a single labeled range.

    @lucene.experimental

    RangeFacetCounts

    Base class for range faceting.

    @lucene.experimental

    • Improve this Doc
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)