File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/opensearch/src/main/java/de/komoot/photon Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ private HttpHost[] startInternal(String clusterName) {
7979 settingsBuilder .put ("discovery.type" , "single-node" );
8080 settingsBuilder .putList ("discovery.seed_hosts" , "127.0.0.1:9201" );
8181 settingsBuilder .put ("indices.query.bool.max_clause_count" , "30000" );
82+ settingsBuilder .put ("index.codec" , "best_compression" );
8283 }).build (OpenSearchRunner .newConfigs ()
8384 .basePath (dataDirectory )
8485 .clusterName (clusterName )
@@ -108,6 +109,7 @@ public void refreshIndexes() throws IOException {
108109 public void shutdown () {
109110 if (runner != null ) {
110111 try {
112+ LOGGER .info ("Shutting down OpenSearch runner" );
111113 runner .close ();
112114 } catch (IOException e ) {
113115 LOGGER .error ("IO error on closing database" , e );
You can’t perform that action at this time.
0 commit comments