We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e053a14 commit 9acb638Copy full SHA for 9acb638
wis2box-management/wis2box/api/backend/elastic.py
@@ -69,7 +69,7 @@
69
}
70
71
},
72
- 'pubTime': {
+ 'pubtime': {
73
'type': 'date',
74
'fields': {
75
'raw': {
@@ -416,8 +416,8 @@ def delete_collections_by_retention(self, days: int) -> bool:
416
'query': {
417
'bool': {
418
'should': [
419
- {'range': {'properties.pubTime': {'lte': before}}},
420
- {'range': {'properties.pubTime': {'gte': after}}}
+ {'range': {'properties.pubtime': {'lte': before}}},
+ {'range': {'properties.pubtime': {'gte': after}}}
421
]
422
423
0 commit comments