Closed kermitt2 closed 5 years ago
With the async branch, the following request runs forever :)
curl "http://localhost:8080/service/lookup?biblio=%EF%9D%A2.+%EF%9D%A4%EF%9D%A5%EF%9D%AC%EF%9D%AC%EF%9D%A9%EF%9D%AE%EF%9D%A7+%EF%9D%A5%EF%9D%B4+%EF%9D%A1%EF%9D%AC."
The string is only made of small capitals: query.bibliographic=. . Such queries should normally fail quickly, not rely on the (super long currently) timeout.
query.bibliographic=. .
The query fails immediately with master branch and a sync. call to ES.
I pushed a fix in commit 0694d29957e01d84934dfd6d95a89c1550fd5224
With the async branch, the following request runs forever :)
The string is only made of small capitals:
query.bibliographic=. .
Such queries should normally fail quickly, not rely on the (super long currently) timeout.The query fails immediately with master branch and a sync. call to ES.