Skip to content

Commit

Permalink
skip knn
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Jan 11, 2024
1 parent 4f6b270 commit 6a7f072
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/Tests.Core/ManagedOpenSearch/NodeSeeders/DefaultSeeder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -388,19 +388,19 @@ public static PropertiesDescriptor<TProject> ProjectProperties<TProject>(Propert
.RankFeature(rf => rf
.Name(p => p.Rank)
.PositiveScoreImpact()
)
.KnnVector(k => k
.Name(p => p.Vector)
.Dimension(2)
.Method(m => m
.Name("hnsw")
.SpaceType("l2")
.Engine("nmslib")
.Parameters(p => p
.Parameter("ef_construction", 128)
.Parameter("m", 24)
)
));
);
// .KnnVector(k => k
// .Name(p => p.Vector)
// .Dimension(2)
// .Method(m => m
// .Name("hnsw")
// .SpaceType("l2")
// .Engine("nmslib")
// .Parameters(p => p
// .Parameter("ef_construction", 128)
// .Parameter("m", 24)
// )
// ));

return props;
}
Expand Down

0 comments on commit 6a7f072

Please sign in to comment.