adjust hierarchical_merge strategy (#100)

This commit is contained in:
KevinHuSh
2024-03-06 09:09:16 +08:00
committed by GitHub
parent 8b2bbd79e4
commit d7c362f237
3 changed files with 77 additions and 45 deletions

View File

@ -82,8 +82,8 @@ class Dealer:
)
else:
s = s.sort(
{"page_num_int": {"order": "asc", "unmapped_type": "float"}},
{"top_int": {"order": "asc", "unmapped_type": "float", "mode" : "avg"}},
{"page_num_int": {"order": "asc", "unmapped_type": "float", "mode" : "avg"}},
{"top_int": {"order": "asc", "unmapped_type": "float", "mode": "avg"}},
{"create_time": {"order": "desc", "unmapped_type": "date"}},
{"create_timestamp_flt": {"order": "desc", "unmapped_type": "float"}}
)