Doc updates
This commit is contained in:
parent
5e4928ccad
commit
95297432eb
2 changed files with 8 additions and 0 deletions
|
|
@ -173,6 +173,8 @@ Reduce disk usage by optimizing and pruning old table versions across all tables
|
||||||
haiku-rag vacuum
|
haiku-rag vacuum
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Automatic Cleanup:** Vacuum runs automatically in the background after document operations. By default, it removes versions older than 60 seconds (`VACUUM_RETENTION_SECONDS`), preserving recent versions for concurrent connections. Manual vacuum can be useful for cleanup after bulk operations or to free disk space immediately.
|
||||||
|
|
||||||
### Rebuild Database
|
### Rebuild Database
|
||||||
|
|
||||||
Rebuild the database by deleting all chunks & embeddings and re-indexing all documents. This is useful
|
Rebuild the database by deleting all chunks & embeddings and re-indexing all documents. This is useful
|
||||||
|
|
|
||||||
|
|
@ -232,6 +232,12 @@ CHUNK_SIZE=256
|
||||||
# When expanded chunks overlap or are adjacent, they are automatically merged
|
# When expanded chunks overlap or are adjacent, they are automatically merged
|
||||||
# into single chunks with continuous content to eliminate duplication
|
# into single chunks with continuous content to eliminate duplication
|
||||||
CONTEXT_CHUNK_RADIUS=0
|
CONTEXT_CHUNK_RADIUS=0
|
||||||
|
|
||||||
|
# Vacuum retention threshold (seconds) for automatic cleanup
|
||||||
|
# When documents are added/updated, old table versions older than this are removed
|
||||||
|
# Default: 60 seconds (safe for concurrent connections)
|
||||||
|
# Set to 0 for aggressive cleanup (removes all old versions immediately)
|
||||||
|
VACUUM_RETENTION_SECONDS=60
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Markdown Preprocessor
|
#### Markdown Preprocessor
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue