Lucene Search Operations Builder
data class LuceneSearchOperationsBuilder(name: String = "lucene-search", embeddingService: <Error class: unknown class>? = null, chunkerConfig: <Error class: unknown class> = ContentChunker.DefaultConfig(), indexPath: Path? = null)
Builder for LuceneSearchOperations instances.
Functions
Link copied to clipboard
Link copied to clipboard
Builds the LuceneSearchOperations and loads existing chunks from disk.
Link copied to clipboard
open fun withChunkerConfig(chunkerConfig: <Error class: unknown class>): LuceneSearchOperationsBuilder
Link copied to clipboard
open fun withEmbeddingService(embeddingService: <Error class: unknown class>): LuceneSearchOperationsBuilder
Link copied to clipboard
Sets the path where the Lucene index will be stored. If not set, storage will be in memory only.
Link copied to clipboard