Documentation

DateRangeSearchFacet
in package
implements JsonSerializable, SearchFacet

A facet that categorizes hits inside date ranges (or buckets) provided by the user.

Interfaces, Classes, Traits and Enums

JsonSerializable
SearchFacet
Common interface for all search facets

Table of Contents

$field  : string
$ranges  : array<string|int, mixed>
$size  : int
__construct()  : mixed
addRange()  : DateRangeSearchFacet

Properties

Methods

__construct()

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

        

Search results