Lucene Search Operations
Lucene RAG facet with optional vector search support via an EmbeddingModel. Supports both in-memory and disk-based persistence. Implements WritableContentElementRepository so we can add to the store.
Parameters
Name of this RAG service
Optional embedding model for vector search; if null, only text search is supported
Optional keyword extractor for keyword-based search; if null, keyword search is disabled
Weighting for vector similarity in hybrid search (0.0 to 1.0)
Configuration for content chunking
Optional path for disk-based index storage; if null, uses in-memory storage
Constructors
Functions
Manually trigger loading of existing chunks from disk. Useful for ensuring chunks are loaded immediately after startup.
Update keywords for existing chunks. This will re-index the chunks with new keywords.