Skip to content

add timeout to search query [DATAES-1003] #1575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Dec 17, 2020 · 0 comments
Closed

add timeout to search query [DATAES-1003] #1575

spring-projects-issues opened this issue Dec 17, 2020 · 0 comments
Labels
type: task A general task

Comments

@spring-projects-issues
Copy link

Ceyhan Kasap opened DATAES-1003 and commented

Hi,

We are using ReactiveElasticsearchOperations search methods with nativeSearchQueries.

It seems that there is no way to provide query timeout for search request.

Elasticsearch api provides this option but I don't see any way to achieve this using spring-data-es.

Indeed very similar question was previously asked on SO:

https://stackoverflow.com/questions/54201598/how-to-define-a-query-timeout-for-a-spring-data-elastic-search-query

 

Following pull request was submitted

 

#572

 

Regards


Affects: 4.1.2 (2020.0.2)

Referenced from: pull request #572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant