You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.Net MEVD: Consider obsoleting VectorSearchOptions.VectorPropertyName in favor of a strongly-typed lambda VectorPropertySelector #10420
VectorSearchOptions currently has VectorPropertyName, allowing the user to specify which vector property is to be searched (for cases where there are multiple vector properties). The property is a string representing the storage name.
However, in most (ideally all) APIs on MEVD, the interaction with the record is via strongly-typed property accesses on the user .NET type, rather than weakly-typed storage property names. For example, we're moving away from the current filter mechanism - which relies on storage string properties - to using LINQ expressions, which allow referencing .NET properties; this proposes that we do the same for selecting the vector property:
// Current API:varresults=awaitfixture.Collection.VectorizedSearchAsync(newReadOnlyMemory<float>([1,2,3]),new(){VectorPropertyName="some_vector_prop"});// New API:varresults=awaitfixture.Collection.VectorizedSearchAsync(newReadOnlyMemory<float>([1,2,3]),new(){VectorProperty= r =>r.SomeVectorProp});
Activity
.Net MEVD: Strongly-typed property selectors (#10850)
adamsitnik commentedon Mar 11, 2025
Implemented in #10850