package com.central.admin.service; import com.central.admin.model.IndexDto; import com.central.common.model.PageResult; import java.io.IOException; import java.util.Map; /** * 索引 * * @author zlt * @date 2019/4/23 */ public interface IIndexService { /** * 创建索引 */ boolean create(IndexDto indexDto) throws IOException; /** * 删除索引 * @param indexName 索引名 */ boolean delete(String indexName) throws IOException; /** * 索引列表 * @param queryStr 搜索字符串 * @param indices 默认显示的索引名 */ PageResult> list(String queryStr, String indices) throws IOException; /** * 显示索引明细 * @param indexName 索引名 */ Map show(String indexName) throws IOException; }