|
@@ -1111,7 +1111,7 @@ func matchRangeByDocId(key string, from int, to int, max int64, sorts []string,
|
|
|
}
|
|
|
func matchRangeWithDocIds(key string, from int, to int, sorts []string, docIds []string) (request *es.ESQueryRequest) {
|
|
|
req := new(es.ESQueryRequest)
|
|
|
- return req.CreateESQueryRequest(htConfig.GetReportIndex(), ESColumn, key, from, to, sorts, es.RangeByConditionWithDocIds).ByCondition("status", "PUBLISH").WithDocs(docIds)
|
|
|
+ return req.CreateESQueryRequest(htConfig.GetReportIndex(), ESColumn, key, from, to, sorts, es.RangeByConditionWithDocIdsNoLimit).ByCondition("status", "PUBLISH").WithDocs(docIds)
|
|
|
}
|
|
|
|
|
|
func CountByDocId(key string, sorts []string, docIds []string) (request *es.ESQueryRequest) {
|