Skip to content

Commit e32a2f5

Browse files
authored
Hide .geoip_databases index (#72377)
Hidden index will no longer be target for wildcard (*) queries, this way we can avoid accidentally downloading huge amount of data
1 parent f72fa49 commit e32a2f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/IngestGeoIpPlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ public Collection<SystemIndexDescriptor> getSystemIndexDescriptors(Settings sett
166166
.put(IndexMetadata.SETTING_NUMBER_OF_SHARDS, 1)
167167
.put(IndexMetadata.SETTING_NUMBER_OF_REPLICAS, 0)
168168
.put(IndexMetadata.SETTING_AUTO_EXPAND_REPLICAS, "0-1")
169+
.put(IndexMetadata.SETTING_INDEX_HIDDEN, true)
169170
.build())
170171
.setOrigin("geoip")
171172
.setVersionMetaKey("version")

0 commit comments

Comments
 (0)