update
This commit is contained in:
+1
-1
@@ -1415,7 +1415,7 @@ public class DocumentSearchServiceImpl implements IDocumentSearchService {
|
|||||||
list1.add("</text>");
|
list1.add("</text>");
|
||||||
mapTemp.put("pre_tags", list);
|
mapTemp.put("pre_tags", list);
|
||||||
mapTemp.put("post_tags", list1);
|
mapTemp.put("post_tags", list1);
|
||||||
mapTemp.put("fragment_size", 2000);//高亮字段内容长度,去除html样式标签,统计字数,设置为200
|
mapTemp.put("fragment_size", 550);//高亮字段内容长度,去除html样式标签,统计字数,设置为200
|
||||||
mapTemp.put("number_of_fragments", 1);//高亮内容默认分为5段, 此处设置为一段
|
mapTemp.put("number_of_fragments", 1);//高亮内容默认分为5段, 此处设置为一段
|
||||||
mapTemp.put("type", "plain");
|
mapTemp.put("type", "plain");
|
||||||
mapHighlight.put(key, mapTemp);
|
mapHighlight.put(key, mapTemp);
|
||||||
|
|||||||
Reference in New Issue
Block a user