Commit 54403c7
authored
Add support for VAMANA index algorithm at index creation (#430)
* - add structured object-model for complex vector index creation, with specialized types for the 3 vector types
- add VectorField.Dimensions, .Type and .DistanceMetric
- add mechanism to bake those into command without breaking existing usage
- AddDirectAttributes, DirectAttributeCount
- new type FlatVectorField
- new type HnswVectorField
- new type SvsVanamaVectorField
- make it possible to extract approx command from SerializedCommand.ToString()
- add implicit operator from string to FieldName to reduce new overloads needed
- add new Schema.Add*VectorField APIs
- add tests to demonstrate correct index construction
* dotnet format
* fix broken test (missing <index_attribute_count>)
* PR nits
* - add SVS integration tests
- fix LeanVec command typo
* follow-up typo fix
* Comments: clarify compression/reduce interaction1 parent c6d7692 commit 54403c7
File tree
5 files changed
+528
-10
lines changed- src/NRedisStack
- Search
- tests/NRedisStack.Tests
- Search
5 files changed
+528
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
0 commit comments