Uses of Class
org.springframework.ai.vectorstore.SearchRequest
Packages that use SearchRequest
Package
Description
-
Uses of SearchRequest in org.springframework.ai.vectorsore
Methods in org.springframework.ai.vectorsore with parameters of type SearchRequest -
Uses of SearchRequest in org.springframework.ai.vectorstore
Methods in org.springframework.ai.vectorstore that return SearchRequestModifier 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) Methods in org.springframework.ai.vectorstore with parameters of type SearchRequestModifier 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
Methods in org.springframework.ai.vectorstore.azure with parameters of type SearchRequest -
Uses of SearchRequest in org.springframework.ai.vectorstore.qdrant
Methods in org.springframework.ai.vectorstore.qdrant with parameters of type SearchRequestModifier and TypeMethodDescriptionQdrantVectorStore.similaritySearch
(SearchRequest request) Performs a similarity search on the vector store.