All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.index.IndexService Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.index;

import java.util.Map;

import com.enonic.xp.annotation.PublicApi;
import com.enonic.xp.branch.Branch;
import com.enonic.xp.repository.IndexSettings;
import com.enonic.xp.repository.RepositoryId;

@PublicApi
public interface IndexService
{
    // Check if node is master
    boolean isMaster();

    UpdateIndexSettingsResult updateIndexSettings( UpdateIndexSettingsParams params );

    IndexSettings getIndexSettings( RepositoryId repositoryId, IndexType indexType );

    Map getIndexMapping( RepositoryId repositoryId, Branch branch, IndexType indexType );

    ReindexResult reindex( ReindexParams params );

    boolean waitForYellowStatus();

    @Deprecated
    void purgeSearchIndex( PurgeIndexParams params );
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy