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 fact of the provided fact name from the response. If no fact is found it will return null.Usage
In HTML Template Binding
{{ fact_expression | fact:fact-name }}
In JavaScript
$filter('fact')(response, fact-name)
Parameters
| Param | Type | Details |
|---|---|---|
| response | object | The response object to get the fact from |
| fact-name | string | The fact name |