shikeying
2024-01-11 3b67e947e36133e2a40eb2737b15ea375e157ea0
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package com.walker.support.es.impl;
 
import com.walker.support.es.SaveData;
import com.walker.support.es.SearchService;
 
import java.util.List;
 
public class FullTextEmptyService implements SearchService {
    @Override
    public Object createAttachmentProcessor(String description) {
        return null;
    }
 
    /**
     * 创建一个索引(库),如果已存在则返回<code>false</code>
     *
     * @param name 索引名字
     * @param type 类型,为空则系统默认为值:table。【该字段废弃】
     * @param json
     * @return
     */
    @Override
    public boolean createIndex(String name, String type, String json) {
        return false;
    }
 
    @Override
    public boolean existIndex(String name, String type) throws Exception {
        return false;
    }
 
    @Override
    public String search(String index, String queryText, int dataSecurity, String securityInfo, int pageIndex, int pageSize) throws Exception {
        return null;
    }
 
    @Override
    public String searchDataById(String index, String _id) throws Exception {
        return null;
    }
 
    /**
     * 只加载一个文件数据
     *
     * @param index
     * @param _id
     * @return
     * @throws Exception
     */
    @Override
    public String searchFileById(String index, String _id) throws Exception {
        return null;
    }
 
    /**
     * 查询最近搜索关联集合
     *
     * @param index
     * @param keyWord
     * @return
     * @throws Exception
     */
    @Override
    public List<String> searchRecent(String index, String keyWord) throws Exception {
        return null;
    }
 
    @Override
    public void putContent(String index, List<SaveData> datas) throws Exception {
 
    }
 
    @Override
    public void removeIndex(String index) throws Exception {
 
    }
 
    @Override
    public List<String> getKeyWordList(String index, String _id, String field) throws Exception {
        return null;
    }
 
    /**
     * 设置分词方式:ik_max_word | ik_smart,默认ik_max_word</p>
     * <pre>
     * 1. Constants.TOKEN_TYPE_MAX
     * 2. Constants.TOKEN_TYPE_SMART
     * </pre>
     *
     * @param tokenType
     */
    @Override
    public void setTokenType(String tokenType) {
 
    }
 
    /**
     * 自动检测附件pipeline,如果不存在则创建,一般名字定义为:attachment
     *
     * @param pipeline
     * @return
     * @throws Exception
     * @author 时克英
     * @date 2020-08-25
     */
    @Override
    public boolean autoCreatePipelineAttachment(String pipeline) throws Exception {
        return false;
    }
}