Uses of Class
org.springframework.ai.vectorstore.SearchRequest
Package
Description
-
Uses of SearchRequest in org.springframework.ai.vectorsore
-
Uses of SearchRequest in org.springframework.ai.vectorstore
Modifier and TypeMethodDescriptionstatic SearchRequest
SearchRequest.defaults()
Create a newSearchRequest
builder instance with an empty embedding query string.static SearchRequest
SearchRequest.from
(SearchRequest originalSearchRequest) Copy an existingSearchRequest
instance.static SearchRequest
Create a newSearchRequest
builder instance with specified embedding query string.SearchRequest.withFilterExpression
(String textExpression) Document metadata filter expression.SearchRequest.withFilterExpression
(Filter.Expression expression) Retrieves documents by query embedding similarity and matching the filters.SearchRequest.withSimilarityThreshold
(double threshold) Similarity threshold score to filter the search response by.SearchRequest.withSimilarityThresholdAll()
Sets disables the similarity threshold by setting it to 0.0 - all results are accepted.SearchRequest.withTopK
(int topK) Modifier and TypeMethodDescriptionstatic SearchRequest
SearchRequest.from
(SearchRequest originalSearchRequest) Copy an existingSearchRequest
instance.MilvusVectorStore.similaritySearch
(SearchRequest request) Neo4jVectorStore.similaritySearch
(SearchRequest request) PgVectorStore.similaritySearch
(SearchRequest request) PineconeVectorStore.similaritySearch
(SearchRequest request) PineconeVectorStore.similaritySearch
(SearchRequest request, String namespace) RedisVectorStore.similaritySearch
(SearchRequest request) SimpleVectorStore.similaritySearch
(SearchRequest request) VectorStore.similaritySearch
(SearchRequest request) Retrieves documents by query embedding similarity and metadata filters to retrieve exactly the number of nearest-neighbor results that match the request criteria.WeaviateVectorStore.similaritySearch
(SearchRequest request) -
Uses of SearchRequest in org.springframework.ai.vectorstore.azure
-
Uses of SearchRequest in org.springframework.ai.vectorstore.qdrant
Modifier and TypeMethodDescriptionQdrantVectorStore.similaritySearch
(SearchRequest request) Performs a similarity search on the vector store.