dotnet / dotnet/efcore

Cosmos/FTS: enable full text search and vectors on collections once Cosmos supports wildcards in paths for their indexes and container policies

Open
#35,898 0 comments 0 reactions 0 assignees View on GitHub
area-cosmos area-vector-search
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Currently FTS and vectors don't support wildcards when defining index policy and container policy:

https://learn.microsoft.com/en-us/azure/cosmos-db/gen-ai/full-text-search

So when we build container / index paths we can't do this the right way for entire collection. Only thing that works now is to define them individually for each element:

/Owned/Collection/0/MyFTSProperty
/Owned/Collection/1/MyFTSProperty
etc.

once wildcards work we will be able to do: /Owned/Collection/[]/MyFTSProperty

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.