Skip to content
Het fundament eronderProduct intelligence

Zoeken in de werkruimte

Negen soorten records, en alleen wat jij mag openen.

Eén zoekactie dekt organisaties, projecten, documenten, taken, playbooks, bedrijven, formulieren, automatiseringen en dashboards, samen of één voor één. Lidmaatschapscontroles zitten in de query zelf, dus een rij die je niet mag zien wordt niet eens opgehaald. Resultaten stoppen bij twintig, zodat het zoekvak geen belastingprobleem kan worden.

9kinds of record you can search3composable resource groups20ranked results at most

Productvoorbeeld

Bekijk het in werking

Dit is hetzelfde visuele component als in de ingelogde applicatie, met voorspelbare voorbeelddata.

Scenario
Voorbeeldscherm
Thema van voorbeeldoppervlak
Voorbeeldmodus

Scoped results

Results include only the organizations, projects and documents you can already open.

Inerte voorbeelddata · geen netwerktoegang

Voorbeeld gereed

Kernpunten

Waarom dit belangrijk is

Permissions inside the query

Access checks are part of the database query, not a filter applied to a wider result. There is no over-broad set to forget to narrow.

Bounded on purpose

A query is 1 to 100 characters, results cap at 20 globally ranked matches, and wildcard characters are escaped before any database work starts.

Types, groups and one registry

Search one registered type, a named group, or any combination. The registry records what is searchable, by whom, and with what limits.

Het probleem dat dit oplost

Zonder een gedeelde basis bouwt elk team deze randgevallen opnieuw, en anders.

The filter someone forgot

Search that fetches broadly and filters afterwards will eventually miss a path. Joining the membership check into the query means the rows were never fetched, so there is nothing to leak.

The query that becomes an outage

Without caps, one very long query or one enormous result set turns our own search box into the thing that slows everything down. Hard limits on length and results prevent that.

Search nobody can describe

When nothing records what is searchable and under which permission, every new feature reinvents search and re-argues access from scratch. One registry answers it once.

Hoe het werkt

Het mechanisme van begin tot eind, zoals het in de repository is geïmplementeerd.

  1. 1

    Input is validated first

    Query length, requested types and groups, filters, sort and result limit are all checked, and wildcard characters are escaped, before any database work begins.

  2. 2

    The server picks the scope

    Your active organization and project come from the session. The browser never decides whose records are searched.

  3. 3

    Permissions join the query

    Membership predicates are joined into the search itself, so candidate rows are narrowed before matching and ranking run.

  4. 4

    Only selected lanes run

    Groups and explicit types resolve to one canonical set. Only those authorized lanes execute, and their results receive a single global relevance order.

Technische garanties

Wat dit wel en niet belooft

Veiligheidsgrens

Iets vinden is geen toestemming om het te openen. Elk onderdeel controleert de toegang opnieuw als je het resultaat opent of bewerkt. Gesprekken, besluiten, doelen, campagnes en financiële posten zijn vandaag niet geïndexeerd; bedrijven en playbooks zijn de Growth Kit-records die de zoekfunctie bereikt.

Implementatiebewijs

De grens hierboven is geen claim maar code. Deze bestanden dragen het contract:

  • src/db/postgres-search.ts
  • src/registries/search-indexes.ts
  • src/features/search/targets.ts
  • src/features/search/server.ts
Vragen

Veelgestelde vragen

Waar Zoeken in de werkruimte op rust

De documentatie beschrijft dezelfde contracten die deze pagina demonstreert.