Documentdb Full Text Search

Full-text search best practices for Azure DocumentDB using the `createSearchIndexes` command and `$search` aggregation stage — BM25 keyword scoring, fuzzy search (`maxEdits`), phrase search with `slop`, custom analyzers (keyword + lowerCase + asciiFolding + edgeGram) for prefix / ID matching, `pathHierarchy` tokenizer for hierarchical IDs, multi-field search indexes, and hybrid (BM25 + vector) retrieval via Reciprocal Rank Fusion. Use when building search experiences, adding typo tolerance, matching phrases or prefixes on IDs / SKUs / part numbers, or combining lexical and semantic retrieval on the same collection.

Azure 44e2dd3 9 files · 28.6 KB Updated

File contents

azure/documentdb-agent-kit/tree/main/skills/full-text-search commit 44e2dd3cb3

Frequently asked questions

npx skillmds@latest add azure/documentdb-full-text-search