Class SearchableSnapshotsSettings

java.lang.Object
org.elasticsearch.snapshots.SearchableSnapshotsSettings

public final class SearchableSnapshotsSettings extends Object
  • Field Details

    • SEARCHABLE_SNAPSHOT_STORE_TYPE

      public static final String SEARCHABLE_SNAPSHOT_STORE_TYPE
      See Also:
    • SEARCHABLE_SNAPSHOT_PARTIAL_SETTING_KEY

      public static final String SEARCHABLE_SNAPSHOT_PARTIAL_SETTING_KEY
      See Also:
    • SNAPSHOT_PARTIAL_SETTING

      public static final Setting<Boolean> SNAPSHOT_PARTIAL_SETTING
    • SEARCHABLE_SNAPSHOTS_REPOSITORY_NAME_SETTING_KEY

      public static final String SEARCHABLE_SNAPSHOTS_REPOSITORY_NAME_SETTING_KEY
      See Also:
    • SEARCHABLE_SNAPSHOTS_REPOSITORY_UUID_SETTING_KEY

      public static final String SEARCHABLE_SNAPSHOTS_REPOSITORY_UUID_SETTING_KEY
      See Also:
    • SEARCHABLE_SNAPSHOTS_SNAPSHOT_NAME_SETTING_KEY

      public static final String SEARCHABLE_SNAPSHOTS_SNAPSHOT_NAME_SETTING_KEY
      See Also:
  • Method Details

    • isSearchableSnapshotStore

      public static boolean isSearchableSnapshotStore(Settings indexSettings)
    • isPartialSearchableSnapshotIndex

      public static boolean isPartialSearchableSnapshotIndex(Settings indexSettings)
    • isPartialSearchableSnapshotIndex

      public static boolean isPartialSearchableSnapshotIndex(Map<Setting<?>,Object> indexSettings)
      Based on a map from setting to value, do the settings represent a partial searchable snapshot index? Both index.store.type and index.store.snapshot.partial must be supplied.