IFilter

Interface

Queries are composed from a set of IFilter objects. All Filters are combined via AND, but the predicates that make up a filter are combined using the specified operation thereby allowing queries to be composed dynamically and deterministically.

The Hub Search Guide contains many examples.

Properties

Property Type Notes
predicates IPredicate[]

Predicates which specify the properties and values to match in the search

operation Optional "AND" | "OR"

Operation used to combine the predicates


Interface defined in common/src/search/types/IHubCatalog.ts:152