Commit c7d6740
committed
- 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 construction1 parent c6d7692 commit c7d6740
File tree
4 files changed
+446
-7
lines changed- src/NRedisStack
- Search
- tests/NRedisStack.Tests/Search
4 files changed
+446
-7
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