DateRangeSearchFacet
class DateRangeSearchFacet implements JsonSerializable, SearchFacet (View source)
A facet that categorizes hits inside date ranges (or buckets) provided by the user.
Methods
mixed
jsonSerialize()
Specify data which should be serialized to JSON
__construct(string $field, int $limit)
No description
addRange(string $name, int|string $start = null, int|string $end = null)
No description
Details
mixed
jsonSerialize()
Specify data which should be serialized to JSON
__construct(string $field, int $limit)
No description
DateRangeSearchFacet
addRange(string $name, int|string $start = null, int|string $end = null)
No description