KeywordSearchStrategy
class KeywordSearchStrategy(val topK: Int = 10, val similarityThreshold: Double = 0.0, val filterExpression: String? = null) : SearchStrategy(source)
Keyword search mode using full-text/lexical matching.
This mode uses traditional text matching instead of vector similarity, which can be useful for exact term matching or when semantic search is not needed.
Types
Link copied to clipboard
class Builder
Builder for KeywordSearchStrategy.
Properties
Functions
Link copied to clipboard
Maps a query string into a SearchRequest for the storage.