What problem are you trying to solve?
Cosmos allows defining vector and fulltext indexes via the IsVectorIndex and IsFullTextIndex extension methods on IndexBuilder.
Currently, EF doesn't support defining indexes on complex type scalar properties, and therefore we can't implement this for cosmos.
b.ComplexProperty(x => x.Nested, n => n.HasIndex(x => x.Id)); // HasIndex does not exist.
Related: #11336
Describe the solution you'd like
After indexing complex type scalar properties is added, add IsVectorIndex and IsFullTextIndex extension methods for complex type scalar properties
What problem are you trying to solve?
Cosmos allows defining vector and fulltext indexes via the
IsVectorIndexandIsFullTextIndexextension methods onIndexBuilder.Currently, EF doesn't support defining indexes on complex type scalar properties, and therefore we can't implement this for cosmos.
Related: #11336
Describe the solution you'd like
After indexing complex type scalar properties is added, add
IsVectorIndexandIsFullTextIndexextension methods for complex type scalar properties