forked from opensearch-project/geospatial
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move index setting keys to constants (opensearch-project#321)
Signed-off-by: Heemin Kim <[email protected]>
- Loading branch information
Showing
3 changed files
with
43 additions
and
26 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
src/main/java/org/opensearch/geospatial/constants/IndexSetting.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package org.opensearch.geospatial.constants; | ||
|
||
/** | ||
* Collection of keys for index setting | ||
*/ | ||
public class IndexSetting { | ||
public static final String NUMBER_OF_SHARDS = "index.number_of_shards"; | ||
public static final String NUMBER_OF_REPLICAS = "index.number_of_replicas"; | ||
public static final String REFRESH_INTERVAL = "index.refresh_interval"; | ||
public static final String AUTO_EXPAND_REPLICAS = "index.auto_expand_replicas"; | ||
public static final String HIDDEN = "index.hidden"; | ||
public static final String BLOCKS_WRITE = "index.blocks.write"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters