You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried a large synonyms file (22 MB) in OpenSearch 2.17. I referenced the file in the Dockerfile. The image I used is public.ecr.aws/opensearchproject/opensearch:2.17.0. It throws a generic error multiple times that Lucene could not be loaded:
opensearch | [2025-02-03T09:54:35,819][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [opensearch] uncaught exception in thread [main]
opensearch | org.opensearch.bootstrap.StartupException: java.lang.IllegalArgumentException: Could not load codec 'Lucene912'. Did you forget to add lucene-backward-codecs.jar?
I augmented the Java Heap to 8 GB but it didn't help. I couldn't find any documentation about the maximum file size of a synonyms file. There is an old Lucene issue that tested with "huge" file sizes of 44000 lines, generated from WordNet. But that's a rather small size by today's standards.
Related component
No response
To Reproduce
Load a large synonyms file via COPY in the Dockerfile
Start the docker container
Expected behavior
A clear error message that the file was too large (ideally with the possible maximum file size).
Additional Details
Plugins
None
Host/Environment (please complete the following information):
OS: Ubuntu
Version: 2.17
The text was updated successfully, but these errors were encountered:
Describe the bug
I've tried a large synonyms file (22 MB) in OpenSearch 2.17. I referenced the file in the Dockerfile. The image I used is
public.ecr.aws/opensearchproject/opensearch:2.17.0
. It throws a generic error multiple times that Lucene could not be loaded:I augmented the Java Heap to 8 GB but it didn't help. I couldn't find any documentation about the maximum file size of a synonyms file. There is an old Lucene issue that tested with "huge" file sizes of 44000 lines, generated from WordNet. But that's a rather small size by today's standards.
Related component
No response
To Reproduce
Expected behavior
A clear error message that the file was too large (ideally with the possible maximum file size).
Additional Details
Plugins
None
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: