Stack Matrix Hub (11)
Fulltextsearch OpenSearch JVM Heap & PDF OCR Indexing
Size JVM heap and storage IOPS for instant full-text search across 0.5-20 TB of PDFs, DOCX files, and OCR scans.
2,048 MB base · +64 MB/TB · Lucene inverted index
Understanding OpenSearch JVM & Lucene Index Growth
Enabling Fulltextsearch spins up an OpenSearch container (~2,048 MB baseline JVM + filesystem cache) plus Tesseract OCR ingestion workers. Expect the Lucene index on disk to consume 8-14% of total raw text/PDF volume.
Initial Indexing Throttle on Storage Slices
During the first index pass across 4-10 TB of legacy archives, run occ fulltextsearch:index inside a tmux session on low priority so OCR extraction does not starve interactive Collabora edits.
Measured Thresholds & Configuration
| Archive Volume | OpenSearch RAM | Index Disk Overhead | Minimum Host Tier |
|---|---|---|---|
| 1-2 TB Archive | 2.1 - 2.3 GB | 120 - 250 GB | InterServer 4x Slices (8 GB) |
| 4-8 TB Archive | 2.4 - 2.8 GB | 400 - 900 GB | InterServer 8x or UltaHost VDS |
| 10-20 TB Archive | 3.0 - 3.6 GB | 1.0 - 2.2 TB | UltaHost VDS Pro 64 GB |