Explanation of why a predicate matched a query


Property Type Notes
matched boolean

Did the predicate match the query?

predicate IPredicate

Copy of the Predicate

reasons IMatchReason[]

Array of reasons why the predicate matched the query

meta 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:60