Skip to main content

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

ParamTypeDetails
responseobjectThe response object to get the fact from
fact-namestringThe fact name