forked from kidgrow-microservices-platform

zhaoxiaohao
2020-06-24 4dabf145f35d9cedc37804cee8d36cf437766699
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.kidgrow.admin.service;
 
import com.kidgrow.admin.model.IndexDto;
import com.kidgrow.admin.model.IndexVo;
import com.kidgrow.common.model.PageResult;
 
import java.util.Map;
 
/**
 * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br>
 *
 * @Description: 索引<br>
 * @Project: <br>
 * @CreateDate: Created in 2020/2/24 13:47 <br>
 * @Author: <a href="4345453@kidgrow.com">liuke</a>
 */
public interface IIndexService {
    /**
     * 创建索引
     */
    void create(IndexDto indexDto);
 
    /**
     * 删除索引
     * @param indexName 索引名
     */
    void delete(String indexName);
 
    /**
     * 索引列表
     * @param queryStr 搜索字符串
     * @param indices 默认显示的索引名
     */
    PageResult<IndexVo> list(String queryStr, String... indices);
 
    /**
     * 显示索引明细
     * @param indexName 索引名
     */
    Map<String, Object> show(String indexName);
}