Closed MrOrz closed 4 years ago
最近 elasticsearch 的 docker container 有一些 warning 如下:
https://gist.github.com/MrOrz/d60b1fb33a89f240afa4147538c2688e
看起來下 /articles/doc/_count
request 時, doc['replyRequestCount'].value > params.operand
這個條件偶爾會觸發 runtime error,每小時會觸發個幾次的樣子。
希望 range operator 改下去之後可以讓這個 warning 消失
Partially fixed in #154 ; we can move other arithmetic operators like lastRequestedAt
to range filters as well.
From 20200212 meeting note, it would be great if we can provide date range search on
createdAt
for articles and replies,lastRequestedAt
or having article replycreatedAt
for articles.To achieve this, we plan to:
EQ
operator withgte
+lte
operator so that it is compatible with range queries.