【修改】搜索中心的分页bug
This commit is contained in:
+1
-1
@@ -442,7 +442,7 @@ public class JeroElasticsearchTemplate {
|
||||
json.put("highlight", highlight);
|
||||
json.put("query", query);
|
||||
json.put("sort", sort);
|
||||
json.put("from", from);
|
||||
json.put("from", from * size);
|
||||
json.put("size", size);
|
||||
return json;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user