Setup: Kubernetes Solr Cloud (bitnami chart). Current version 8.11 (also looking to go to 9)
I've tried various methods to get a larger file 120Mb loaded into KeepWordFilterFactory.
Main problems => zookeeper timing out. Then tried embedding the file in the image and loading it from there.
<filter class="solr.KeepWordFilterFactory" words="${keepwords.file.path}" ignoreCase="true"/>
The problem here is that Solr cloud prepends the path /configs/coreName//opt/bitnami/solr/server/solr/custom_resources/keepwords.txt"
This gets's added => /configs/coreName/
Also tried sending it as zookeeper config, but I understand it's not designed to distribute such large files.(increasing -Djute.maxbuffer is not enough).
Also checked managed resources, but these seem to only exist for stopwords and synonyms.
What would be the right way of loading such a file in config? (do note that I probably need to change the keepwordsFilterFactory approach, but for now I would like to use it with existing config it worked nicely).
The exact error is:
org.apache.solr.common.SolrException: Error CREATEing SolrCore 'corename_shard1_replica_n1': Unable to create core [corename_shard1_replica_n1] Caused by: Invalid path string "/configs/corename//opt/bitnami/solr/server/solr/custom_resources/keepwords.txt" caused by empty node name specified @21