Public Meilisearch key. Defaults to DEFAULT_SEARCH_API_KEY.
Meilisearch host. Defaults to DEFAULT_SEARCH_HOST.
OptionalhttpClientOptions: ResilientHttpClientOptions
Optional overrides for the resilient
httpClient (retry/backoff, logging hook). See
ResilientHttpClientOptions.
Fetch every campaign matching filter, transparently working around the
Meilisearch maxTotalHits cap by recursively partitioning the filter
along facetable axes until each leaf bucket is under the cap.
When filter.type is omitted, results are constrained to
CAMPAIGN_FACT_TYPES (campaign + team_event). The facts
index also contains causes, fundraising events, users, teams, and
auction houses; without this default they would leak into the result
set. Pass an explicit type to override.
Progress can be observed via the optional onProgress callback. The
total is determined from a facet count up front and stays fixed for
the duration of the call; collected grows monotonically.
Sibling probes and leaf fetches run in parallel, bounded by
options.concurrency (default 4).
The Meilisearch filter to scope results. If type is
not provided it defaults to CAMPAIGN_FACT_TYPES.
OptionalonProgress: (progress: GetAllCampaignsProgress) => void
Optional progress callback.
Concurrency etc.
Every unique hit (deduped by id).
Plain Meilisearch search call. Forwards filter (via
buildFilterString) and pagination directly to the index.
Search wrapper for the Tiltify
factsMeilisearch index, with a special CampaignSearch.getAllCampaigns method that transparently works around themaxTotalHitscap by recursively partitioning the filter along facetable axes until each leaf bucket is under the cap.Example
See
https://site-search.tiltify.com — index host.