integrationspackages/integrations/search
search package
Full-text search — Meilisearch, Typesense, or Algolia behind one indexer + searcher pair. Per-tenant filters baked in.
- Stability
- Stable
- Scope
- Global
- Boundary
- packages/integrations/search
Billing v2 migration playbook
0.94Step-by-step migration from legacy invoices to the new metering pipeline.
posts/2024/billing-v2.mdMigration checklist for billing tenants
0.89Verify RLS, secrets rotation, and webhook backfill before cutover.
docs/billing/migration.mdxStripe → Polar billing adapter notes
0.81Provider-agnostic shape keeps customer code stable across switches.
changelog/2026/adapters.mdZero-downtime migration patterns
0.76Dual-write, shadow-read, then flip — applies to billing data too.
docs/patterns/migration.mdx
Searched 12,401 docs in 38ms · Meilisearch backend38ms
Usagesearch.ts
typescriptsearch.ts
1import { getSearch } from "@nebutra/search";
2
3// Provider-agnostic: Meilisearch | Typesense | Algolia.
4const search = await getSearch();
5
6await search.indexDocument("posts", {
7 id: post.id,
8 title: post.title,
9 body: post.body,
10 tenantId: post.tenantId,
11});
12
13const results = await search.search("posts", {
14 query: "billing migration",
15 tenantId: org.id,
16});