Skip to main content
Guide
Text indexes provide durable BM25 search over string properties on nodes or edges.

Create a text index

Pass a tenant property as the final argument to partition the index.

Search indexed text

Start with the SDK’s text-search operation for label Doc, property body, query text "consensus protocol", and a result limit of 10. The hit stream is ordered by BM25 relevance. Project the rank field before traversing away from a hit.

Indexed values

  • Store searchable text in a top-level property.
  • Keep tenant property names and values consistent with the definition.
  • Treat analyzer and term-position behavior as part of the index definition.
  • Fix invalid source values before retrying a blocked backfill.

Next steps

Project search results

Preserve ranked hit metadata before continuing a traversal.

Troubleshoot index operations

Resolve blocked builds and lifecycle errors.