Uses of Class
org.springframework.ai.vectorstore.SearchRequest.Builder
-
Uses of SearchRequest.Builder in org.springframework.ai.vectorstore
Modifier and TypeMethodDescriptionstatic SearchRequest.Builder
SearchRequest.builder()
Builder for creating the SearchRequest instance.static SearchRequest.Builder
SearchRequest.defaults()
Deprecated, for removal: This API element is subject to removal in a future version.SearchRequest.Builder.filterExpression
(String textExpression) Document metadata filter expression.SearchRequest.Builder.filterExpression
(Filter.Expression expression) Retrieves documents by query embedding similarity and matching the filters.static SearchRequest.Builder
SearchRequest.from
(SearchRequest originalSearchRequest) Copy an existingSearchRequest.Builder
instance.SearchRequest.Builder.similarityThreshold
(double threshold) Similarity threshold score to filter the search response by.SearchRequest.Builder.similarityThresholdAll()
Sets disables the similarity threshold by setting it to 0.0 - all results are accepted.SearchRequest.Builder.topK
(int topK)
SearchRequest.builder()
instead.