You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elasticsearch version (bin/elasticsearch --version):
Version: 7.7.0, Build: default/docker/81a1e9eda8e6183f5237786246f6dced26a10eaf/2020-05-12T02:01:37.602180Z, JVM: 14
Plugins installed:
No additional plugins where installed.
JVM version (java -version):
openjdk version "14" 2020-03-17
OpenJDK Runtime Environment AdoptOpenJDK (build 14+36)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+36, mixed mode, sharing)
OS version (uname -a if on a Unix-like system):
Linux b99cbb29ece8 5.6.13-200.fc31.x86_64 #1 SMP Thu May 14 23:26:14 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
When using ES 7.7.0 the following query
curl -X POST -H "Content-Type:application/json" \
http://localhost:9200/bug\*/_search \
-d '{"size":1,"query":{"term":{"test":{"value":"test","boost":1.0}}},"sort":[{"@timestamp":{"order":"desc"}}]}'
To reproduce the bug. You have to create two indices bug-first and bug-second with no additional settings or mappings, ie. http put http://localhost:9200/bug-first and http put http://localhost:9200/bug-second. Further add some old documents to the first index bug-first through
for i in $(seq 1000); do echo '{ "@timestamp" : "2020-05-09T09:10:41.272235893Z","test":"test" }' | http post localhost:9200/bug-first/_doc; done
Thanks for reporting @g-w , this bug is already fixed by #57044 so I hope you don't mind if I close the issue. You should upgrade to 7.7.1 which contains the fix.
Elasticsearch version (
bin/elasticsearch --version
):Version: 7.7.0, Build: default/docker/81a1e9eda8e6183f5237786246f6dced26a10eaf/2020-05-12T02:01:37.602180Z, JVM: 14
Plugins installed:
No additional plugins where installed.
JVM version (
java -version
):openjdk version "14" 2020-03-17
OpenJDK Runtime Environment AdoptOpenJDK (build 14+36)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+36, mixed mode, sharing)
OS version (
uname -a
if on a Unix-like system):Linux b99cbb29ece8 5.6.13-200.fc31.x86_64 #1 SMP Thu May 14 23:26:14 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
When using ES 7.7.0 the following query
The server sometimes responds with:
and logs the following exception
Steps to reproduce:
To reproduce the bug. You have to create two indices bug-first and bug-second with no additional settings or mappings, ie.
http put http://localhost:9200/bug-first
andhttp put http://localhost:9200/bug-second
. Further add some old documents to the first indexbug-first
throughFurther add a document and to the second index
It is not sufficient to add a few documents. Further add a document to the second index
bug-second
Execute the query as above.
This issue might be related two #56923
The text was updated successfully, but these errors were encountered: