@coveo/headless-react
    Preparing search index...

    Interface NumericRangeRequest

    The options defining a value to display in a NumericFacet.

    interface NumericRangeRequest {
        end: number;
        endInclusive: boolean;
        previousState?: FacetValueState;
        start: number;
        state: FacetValueState;
    }
    Index

    Properties

    end: number

    The end value of the range.

    endInclusive: boolean

    Whether to include the end value in the range.

    previousState?: FacetValueState

    The previous facet value state in the search interface.

    Tracks the state before the most recent transition to enable analytics reporting on facet selection behavior and support Event Protocol migration. Also used for preserving facet values during automatic range generation.

    start: number

    The start value of the range.

    The current facet value state.