anfra docs
Semantic catalogSearch

Search

Find metrics, datasets and models in the Semantic Catalog with anfra search

Search the catalog with anfra search. Search reads the catalog, so ingest your project first.

anfra search 'type:metric monthly revenue'
QueryFinds
monthly revenueEntities that match the text. Free text needs no quotes.
type:dataset revenueDatasets that match "revenue".
owner:"Jane Doe","John Smith"Entities owned by either person.
type:dataset depends_on:(type:model name:orders)Datasets that use the orders model.
type:model needed_by:(type:metric name:revenue)Models that the revenue metric uses.
  • Filters are property:value, such as type:model or name:orders. For numbers and dates, write <, >, <= or >= in place of :, such as measure_count>=5.
  • Combining: filters on the same property are ORed, and everything else is ANDed. Write AND, OR and parentheses to override this.
  • Lineage: depends_on:(query) finds what uses the entities that match the query, and needed_by:(query) finds what they use. Both follow up to 3 steps. Set the number of steps with depends_on[depth=5]:(...).
  • Matching: most properties match part of the value, so name:order finds orders and order_items, and free text searches them. Properties listed as Exact on the type pages match the whole value only, such as hidden:true.
  • Matching ignores case. Quote a value that contains spaces.

Types

Every entity in the catalog has a type, such as metric or model. Each type has its own properties to filter on:

On this page