[hibernate-issues] [JIRA] (HSEARCH-3785) Support soft timeout ( limiting fetching ) on Elasticsearch

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Thu Aug 6 05:30:39 EDT 2020


Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *updated* an issue

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiOGZkZGM1ODAyNWJjNDVhN2JiZThhNTJjNDNkNmZiNzgiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3785?atlOrigin=eyJpIjoiOGZkZGM1ODAyNWJjNDVhN2JiZThhNTJjNDNkNmZiNzgiLCJwIjoiaiJ9 ) HSEARCH-3785 ( https://hibernate.atlassian.net/browse/HSEARCH-3785?atlOrigin=eyJpIjoiOGZkZGM1ODAyNWJjNDVhN2JiZThhNTJjNDNkNmZiNzgiLCJwIjoiaiJ9 ) Support soft timeout ( limiting fetching ) on Elasticsearch ( https://hibernate.atlassian.net/browse/HSEARCH-3785?atlOrigin=eyJpIjoiOGZkZGM1ODAyNWJjNDVhN2JiZThhNTJjNDNkNmZiNzgiLCJwIjoiaiJ9 )

Change By: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

Hard timeout is implemented by us client side.
For the soft Soft timeout we need to rely on Elasticsearch is implemented too , but it seems that there is an issue related to the fact that currently not tested because :

{quote}Timeout resolution is very low, so it's uneffective unless the query takes a really long time to execute.{quote}

We should find a way to test it regardless, for example by configuring Elasticsearch to use a higher time resolution (is it even possible?), or by crafting a query that we know will take forever to execute (how?).

See full discussion here: [https://github.com/hibernate/hibernate-search/pull/2158#commitcomment-36306546|https://github.com/hibernate/hibernate-search/pull/2158#commitcomment-36306546]

See {{org.hibernate.search.integrationtest.backend.elasticsearch.testsupport.util.ElasticsearchTckBackendFeatures#fastTimeoutResolution}}.

( https://hibernate.atlassian.net/browse/HSEARCH-3785#add-comment?atlOrigin=eyJpIjoiOGZkZGM1ODAyNWJjNDVhN2JiZThhNTJjNDNkNmZiNzgiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3785#add-comment?atlOrigin=eyJpIjoiOGZkZGM1ODAyNWJjNDVhN2JiZThhNTJjNDNkNmZiNzgiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100141- sha1:76df2fe )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200806/1e993d1e/attachment.html 


More information about the hibernate-issues mailing list