作者 王勇

ES索引名修改,以及分词器选择修改

... ... @@ -51,7 +51,7 @@ public class ElasticsearchService {
public ResultJson selectMessageNoteList(MessageNote messageNote, Integer pageNum, Integer pageSize) throws IOException
{
// 条件搜索
SearchRequest searchRequest = new SearchRequest("message_note");
SearchRequest searchRequest = new SearchRequest("message");
SearchSourceBuilder sourceBuilder = new SearchSourceBuilder();
// 高亮设置
... ...