LuceneRagFacetProvider

constructor(name: String, enhancers: List<<Error class: unknown class>> = emptyList(), embeddingModel: <Error class: unknown class>? = null, keywordExtractor: KeywordExtractor? = null, vectorWeight: Double = 0.5, chunkerConfig: <Error class: unknown class> = ContentChunker.DefaultConfig(), indexPath: Path? = null)

Parameters

name

Name of this RAG service

embeddingModel

Optional embedding model for vector search; if null, only text search is supported

keywordExtractor

Optional keyword extractor for keyword-based search; if null, keyword search is disabled

vectorWeight

Weighting for vector similarity in hybrid search (0.0 to 1.0)

chunkerConfig

Configuration for content chunking

indexPath

Optional path for disk-based index storage; if null, uses in-memory storage