Update mongo-search-indexes.adoc.
Remove quantization from VectorSearch docs. Closes: #4931 Signed-off-by: Alex Bevilacqua <alex@alexbevi.com>
This commit is contained in:
committed by
Christoph Strobl
parent
d2b7b80dd7
commit
c8d2d83b0a
@@ -84,7 +84,6 @@ VectorSearchOperation search = VectorSearchOperation.search("vector_index") <1>
|
|||||||
.vector( ... )
|
.vector( ... )
|
||||||
.numCandidates(150)
|
.numCandidates(150)
|
||||||
.limit(10)
|
.limit(10)
|
||||||
.quantization(SCALAR)
|
|
||||||
.withSearchScore("score"); <3>
|
.withSearchScore("score"); <3>
|
||||||
|
|
||||||
AggregationResults<MovieWithSearchScore> results = mongoTemplate
|
AggregationResults<MovieWithSearchScore> results = mongoTemplate
|
||||||
@@ -107,8 +106,7 @@ db.embedded_movies.aggregate([
|
|||||||
"path": "plot_embedding", <1>
|
"path": "plot_embedding", <1>
|
||||||
"queryVector": [ ... ],
|
"queryVector": [ ... ],
|
||||||
"numCandidates": 150,
|
"numCandidates": 150,
|
||||||
"limit": 10,
|
"limit": 10
|
||||||
"quantization": "scalar"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user