Indexing pipeline API¶
locallore.indexing.pipeline
¶
update_index(settings, *, embedder=None)
¶
Import changed sessions and embed any messages that are out of date.
Source code in src/locallore/indexing/pipeline.py
locallore.indexing.locking
¶
Coordinate indexing across processes.
logger = logging.getLogger(__name__)
module-attribute
¶
index_lock_path(database_path)
¶
acquire_index_lock(database_path)
¶
Allow only one process to update an index at a time.