|
3 | 3 |
|
4 | 4 | import com.alibaba.fastjson.JSONObject; |
5 | 5 | import org.apache.commons.lang3.StringUtils; |
6 | | -import org.elasticsearch.action.ActionFuture; |
7 | 6 | import org.elasticsearch.action.admin.indices.create.CreateIndexResponse; |
8 | 7 | import org.elasticsearch.action.admin.indices.delete.DeleteIndexResponse; |
9 | 8 | import org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsRequest; |
|
16 | 15 | import org.elasticsearch.action.search.SearchResponse; |
17 | 16 | import org.elasticsearch.action.search.SearchType; |
18 | 17 | import org.elasticsearch.action.update.UpdateRequest; |
19 | | -import org.elasticsearch.action.update.UpdateResponse; |
20 | 18 | import org.elasticsearch.client.transport.TransportClient; |
21 | 19 | import org.elasticsearch.common.text.Text; |
22 | 20 | import org.elasticsearch.index.query.BoolQueryBuilder; |
23 | 21 | import org.elasticsearch.index.query.QueryBuilders; |
24 | 22 | import org.elasticsearch.search.SearchHit; |
25 | | -import org.elasticsearch.search.SearchHits; |
26 | 23 | import org.elasticsearch.search.fetch.subphase.highlight.HighlightBuilder; |
27 | | -import org.elasticsearch.search.fetch.subphase.highlight.HighlightField; |
28 | 24 | import org.elasticsearch.search.sort.SortOrder; |
29 | 25 | import org.slf4j.Logger; |
30 | 26 | import org.slf4j.LoggerFactory; |
@@ -339,7 +335,7 @@ public static List<Map<String, Object>> searchListData(String index, String type |
339 | 335 | * |
340 | 336 | * @param index 索引名称 |
341 | 337 | * @param type 类型名称,可传入多个type逗号分隔 |
342 | | - * @param currentPage 起始条数 |
| 338 | + * @param currentPage 当前页 |
343 | 339 | * @param pageSize 每页显示条数 |
344 | 340 | * @param startTime 开始时间 |
345 | 341 | * @param endTime 结束时间 |
|
0 commit comments