Documentation Index
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
Description
Returns the first filter object from the query or facet that matches the name and optionally the value alsoUsage
In HTML Template Binding
{{ hasFilter_expression | hasFilter:field[:value] }}
In JavaScript
$filter('hasFilter')(query, field[, value])
Parameters
| Param | Type | Details |
|---|---|---|
| query | string | The query object |
| field | number | The name of the filter |
| value (optional) | number | The value of the filter |