IPredicateExplanation
Explanation of why a predicate matched a query
Properties
Property | Type | Notes |
---|---|---|
boolean |
Did the predicate match the query? |
|
IPredicate |
Copy of the Predicate |
|
IMatchReason[] |
Array of reasons why the predicate matched the query |
|
Optional | Record<stringany> |
Additional information about the predicate which can be useful when preparing a UI to display the explanation |
Interface defined in common/src/search/explainQueryResult.ts:61