We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8cad3a commit b9ccefeCopy full SHA for b9ccefe
src/main/java/org/opensearch/geospatial/ip2geo/common/GeoIpDataFacade.java
@@ -121,8 +121,8 @@ public void createIndexIfNotExists(final String indexName) {
121
private void freezeIndex(final String indexName) {
122
TimeValue timeout = clusterSettings.get(Ip2GeoSettings.TIMEOUT);
123
StashedThreadContext.run(client, () -> {
124
- client.admin().indices().prepareRefresh(indexName).execute().actionGet(timeout);
125
client.admin().indices().prepareForceMerge(indexName).setMaxNumSegments(1).execute().actionGet(timeout);
+ client.admin().indices().prepareRefresh(indexName).execute().actionGet(timeout);
126
client.admin()
127
.indices()
128
.prepareUpdateSettings(indexName)
0 commit comments