I’m evaluating TrueSearch/Spotlight on a Community Edition system (27.0.0-RC.1, upgraded from 22.12.4.2), registered with TrueNAS Connect Foundation. The SMB shares contain about 1.88M objects (files and directories, from df -i).
At startup, truesearch-init reports:
Product: COMMUNITY_EDITION, TrueNAS Connect: enabled (CONFIGURED, tier: FOUNDATION), Limit: Community + TrueNAS Connect Foundation: 1 million files
License limit: maximum 1000000 indexed files
The truesearch-init binary contains these tier limits: Community 10,000 / Connect Foundation 1M / Connect Plus 10M / Connect Business 100M / Enterprise unlimited.
However, /etc/truesearch/config.json is generated by the middleware template (etc_files/truesearch/config.json.py, same in stable/27 and master) with fixed values, regardless of tier:
"index_settings": { "max_index_size": 10737418240, "max_document_count": 1000000 }
The service also logs Max Document Count: 1000000 and Max Index Size: 10.0 GB separately from the license limit.
Questions:
- With Connect Plus (10M license limit), which limit does the truesearch service enforce: the license limit or
max_document_countfrom config.json? If config.json wins, Plus doesn’t raise the effective limit above 1M. - Is the 10 GiB
max_index_sizealso meant to scale with the tier? With about 1.9M files, the index will very likely exceed 10 GiB. - When a limit is reached, what is the behavior: indexing stops, oldest entries are dropped, or new files are skipped? Is it logged or raised as an alert?
- Since TrueSearch has no per-folder exclusion (only encrypted datasets are excluded), is there a supported way to limit the scope, for example to exclude image-heavy subtrees?
I’d rather get clarity before subscribing to Plus. Thanks.