Module spring.data.mongodb
Interface VectorSearchOperation.LimitContributor
- Enclosing class:
- VectorSearchOperation
public static interface VectorSearchOperation.LimitContributor
Fluent API to configure a limit on the VectorSearchOperation builder.
-
Method Summary
Modifier and TypeMethodDescriptiondefault VectorSearchOperationlimit(int limit) Number (of type int only) of documents to return in the results.Number (of type int only) of documents to return in the results.
-
Method Details
-
limit
Number (of type int only) of documents to return in the results. This value can't exceed the value of numCandidates if you specify numCandidates.- Parameters:
limit-- Returns:
-
limit
Number (of type int only) of documents to return in the results. This value can't exceed the value of numCandidates if you specify numCandidates.- Parameters:
limit-- Returns:
-