Skip to content

Commit 60e221a

Browse files
alexbevichristophstrobl
authored andcommitted
Update mongo-search-indexes.adoc.
Remove quantization from VectorSearch docs. Closes: #4931 Signed-off-by: Alex Bevilacqua <[email protected]>
1 parent 26b3cd4 commit 60e221a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/main/antora/modules/ROOT/pages/mongodb/mongo-search-indexes.adoc

+1-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ VectorSearchOperation search = VectorSearchOperation.search("vector_index") <1>
8484
.vector( ... )
8585
.numCandidates(150)
8686
.limit(10)
87-
.quantization(SCALAR)
8887
.withSearchScore("score"); <3>
8988
9089
AggregationResults<MovieWithSearchScore> results = mongoTemplate
@@ -107,8 +106,7 @@ db.embedded_movies.aggregate([
107106
"path": "plot_embedding", <1>
108107
"queryVector": [ ... ],
109108
"numCandidates": 150,
110-
"limit": 10,
111-
"quantization": "scalar"
109+
"limit": 10
112110
}
113111
},
114112
{

0 commit comments

Comments
 (0)