Documentation

NumericRangeSearchFacet
in package
implements JsonSerializable, SearchFacet

A facet that categorizes hits into numerical ranges (or buckets) provided by the user.

Interfaces, Classes and Traits

JsonSerializable
SearchFacet
Common interface for all search facets

Table of Contents

__construct()  : mixed
addRange()  : NumericRangeSearchFacet
jsonSerialize()  : mixed

Methods

__construct()

public __construct(string $field, int $limit) : mixed
Parameters
$field : string
$limit : int
Return values
mixed

jsonSerialize()

public jsonSerialize() : mixed
Return values
mixed

Search results