|
@@ -410,13 +410,13 @@ public class FusionAnalysisServiceImpl implements FusionAnalysisService {
|
|
|
// }
|
|
|
dtos.forEach(item->{
|
|
|
LeaveOutData data = new LeaveOutData();
|
|
|
- SearchRequest request2 = new SearchRequest(INDEX_SEAT_REALTIMETRAJECTORY+time);
|
|
|
+ SearchRequest request2 = new SearchRequest(INDEX_SEAT_REALTIMETRAJECTORY_TEST+time);
|
|
|
// 构建查询条件
|
|
|
BoolQueryBuilder boolQueryBuilder2 = QueryBuilders.boolQuery();
|
|
|
SearchSourceBuilder searchSourceBuilder2 = new SearchSourceBuilder();
|
|
|
- boolQueryBuilder2.filter(QueryBuilders.wildcardQuery("targetSource", "*"+ item.getBatchNumber() +"*"));
|
|
|
+ boolQueryBuilder2.filter(QueryBuilders.wildcardQuery("trackDeviceNo", "*,"+ item.getBatchNumber() +",*"));
|
|
|
boolQueryBuilder2.filter(QueryBuilders.rangeQuery("mergeTime").gte(query.getStartTime()).lte(query.getEndTime()));
|
|
|
- boolQueryBuilder2.filter(QueryBuilders.termsQuery("mergeType","RADAR","AIS_RADAR","BEIDOU_RADAR","AIS_BEIDOU_RADAR"));
|
|
|
+ boolQueryBuilder2.filter(QueryBuilders.termsQuery("mergeType","TA_RADAR"));
|
|
|
searchSourceBuilder2.query(boolQueryBuilder2)
|
|
|
.trackTotalHits(true)
|
|
|
.size(query.getPageSize())
|
|
@@ -644,13 +644,13 @@ public class FusionAnalysisServiceImpl implements FusionAnalysisService {
|
|
|
// }
|
|
|
dtos.forEach(item->{
|
|
|
LeaveOutData data = new LeaveOutData();
|
|
|
- SearchRequest request2 = new SearchRequest(INDEX_SEAT_REALTIMETRAJECTORY+time);
|
|
|
+ SearchRequest request2 = new SearchRequest(INDEX_SEAT_REALTIMETRAJECTORY_TEST+time);
|
|
|
// 构建查询条件
|
|
|
BoolQueryBuilder boolQueryBuilder2 = QueryBuilders.boolQuery();
|
|
|
SearchSourceBuilder searchSourceBuilder2 = new SearchSourceBuilder();
|
|
|
- boolQueryBuilder2.filter(QueryBuilders.wildcardQuery("targetSource", "*"+ item.getBatchNumber() +"*"));
|
|
|
+ boolQueryBuilder2.filter(QueryBuilders.wildcardQuery("trackDeviceNo", "*,"+ item.getBatchNumber() +",*"));
|
|
|
boolQueryBuilder2.filter(QueryBuilders.rangeQuery("mergeTime").gte(query.getStartTime()).lte(query.getEndTime()));
|
|
|
- boolQueryBuilder2.filter(QueryBuilders.termsQuery("mergeType","AIS","RADAR","AIS_BEIDOU","AIS_RADAR","BEIDOU_RADAR","AIS_BEIDOU_RADAR"));
|
|
|
+ boolQueryBuilder2.filter(QueryBuilders.termsQuery("mergeType","HLX_AIS_RADAR","HLX_AIS","HLX_RADAR","HLX_ZYD_RADAR"));
|
|
|
searchSourceBuilder2.query(boolQueryBuilder2)
|
|
|
.trackTotalHits(true)
|
|
|
.size(query.getPageSize())
|
|
@@ -753,11 +753,11 @@ public class FusionAnalysisServiceImpl implements FusionAnalysisService {
|
|
|
});
|
|
|
dtos.forEach(item->{
|
|
|
StaticOrDynamicData data = new StaticOrDynamicData();
|
|
|
- SearchRequest request2 = new SearchRequest(INDEX_SEAT_REALTIMETRAJECTORY+time);
|
|
|
+ SearchRequest request2 = new SearchRequest(INDEX_SEAT_REALTIMETRAJECTORY_TEST+time);
|
|
|
// 构建查询条件
|
|
|
BoolQueryBuilder boolQueryBuilder2 = QueryBuilders.boolQuery();
|
|
|
SearchSourceBuilder searchSourceBuilder2 = new SearchSourceBuilder();
|
|
|
- boolQueryBuilder2.filter(QueryBuilders.wildcardQuery("targetSource", "*"+ item.getBatchNumber() +"*"));
|
|
|
+ boolQueryBuilder2.filter(QueryBuilders.wildcardQuery("trackDeviceNo", "*,"+ item.getBatchNumber() +",*"));
|
|
|
boolQueryBuilder2.filter(QueryBuilders.termQuery("targetType","0"));
|
|
|
boolQueryBuilder2.filter(QueryBuilders.rangeQuery("mergeTime").gte(query.getStartTime()).lte(query.getEndTime()));
|
|
|
boolQueryBuilder2.filter(QueryBuilders.termsQuery("mergeType","RADAR","AIS_RADAR","BEIDOU_RADAR","AIS_BEIDOU_RADAR"));
|