Package com.enonic.xp.index

## Interface IndexService

-     @PublicApi
      public interface IndexService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Map<String,​Object>` | `getIndexMapping​(RepositoryId repositoryId, Branch branch, IndexType indexType)` |
    `IndexSettings` | `getIndexSettings​(RepositoryId repositoryId, IndexType indexType)` |
    `boolean` | `isMaster()` |
    `void` | `purgeSearchIndex​(PurgeIndexParams params)` | Deprecated.
    `ReindexResult` | `reindex​(ReindexParams params)` |
    `UpdateIndexSettingsResult` | `updateIndexSettings​(UpdateIndexSettingsParams params)` |
    `boolean` | `waitForYellowStatus()` |

- - ### Method Detail

    - #### isMaster

          boolean isMaster()

    - #### updateIndexSettings

          UpdateIndexSettingsResult updateIndexSettings​(UpdateIndexSettingsParams params)

    - #### getIndexSettings

          IndexSettings getIndexSettings​(RepositoryId repositoryId,
                                         IndexType indexType)

    - #### getIndexMapping

          Map<String,​Object> getIndexMapping​(RepositoryId repositoryId,
                                                   Branch branch,
                                                   IndexType indexType)

    - #### reindex

          ReindexResult reindex​(ReindexParams params)

    - #### waitForYellowStatus

          boolean waitForYellowStatus()

    - #### purgeSearchIndex

          @Deprecated
          void purgeSearchIndex​(PurgeIndexParams params)

      Deprecated.