How to disable the elasticsearch?

In the Flutter frontend I am not using the elasticsearch. In production i am not starting the elastic search, which saves me about 1-2 Gb memory . Although i get some errors , my GrowERP Flutter frontend is working fine.

What is the best way to disable the elasticsearch altogether and get rid of the error messages in the log?

Thanks in advance for your suggestions,
Regards.

Have you tried no-run-es?

Yes, it is mentioned at the Moqui Documentation page, but not mentioned at the java -jar moqui.war --help screen.

If you add this parameter no-run-es to the java -jar moqui.war command, it is mentioned in the startup log with:
Running Jetty server on port 8080 max threads 100 with args [{no-run-es=}]

however these messages still appear:
Error connecting to ElasticSearch cluster default at http://127.0.0.1:9200, try 1 of 20

regards,
Hans

Are you running Moqui on the client?

I use Flutter on the client, all source at GrowERP · GitHub

What are the error message?

Are you sure you don’t want to run elastic search? Elastic search is used for storing logs which are vital for discovering what is going on in the system. It’s also used for data documents.

If you don’t want to run elastic search I just wouldn’t install it on the server.

I run the backend with: java -jar moqui.war no-run-es

at startup:
Initializing ElasticFacade Client for cluster default at http://127.0.0.1:9200
16:09:41.337 WARN main o.eclipse.j.u.s.S.config Trusting all certificates configured for Client@67ceaa9[provider=null,keyStore=null,trustStore=null]
16:09:41.338 WARN main o.eclipse.j.u.s.S.config No Client EndPointIdentificationAlgorithm configured for Client@67ceaa9[provider=null,keyStore=null,trustStore=null]
16:09:41.356 WARN main o.moqui.i.c.ElasticFacadeImpl Error connecting to ElasticSearch cluster default at http://127.0.0.1:9200, try 1 of 2: org.moqui.BaseException: Error calling HTTP request to http://127.0.0.1:9200/
16:09:42.365 ERROR main o.moqui.i.c.ElasticFacadeImpl Error initializing ElasticClient for cluster default: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused
16:09:42.365 WARN main o.moqui.i.c.ElasticFacadeImpl No Elastic Client found with name ‘logger’ or ‘default’, not initializing ElasticSearchLogger
16:09:42.365 INFO main .moqui.i.c.ExecutionContextFactoryImpl Elastic Facade initialized

Regards