Skip to content

Add support for retrieving request executionDuration.#2991

Merged
sothawo merged 2 commits intospring-projects:mainfrom
ELHARROUGUI:issue/2986
Oct 22, 2024
Merged

Add support for retrieving request executionDuration.#2991
sothawo merged 2 commits intospring-projects:mainfrom
ELHARROUGUI:issue/2986

Conversation

@ELHARROUGUI
Copy link
Copy Markdown
Contributor

Please let me know if I missed anything.

  • You have read the Spring Data contribution guidelines.
  • There is a ticket in the bug tracker for the project in our issue tracker. Add the issue number to the Closes #issue-number line below
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

Closes #2986

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 19, 2024
Added support for retreving the query execution time from took() method of ResponseBody class as java.time.Duration in SearchDocumentResponseBuilder class.

Closes spring-projects#2986
Copy link
Copy Markdown
Collaborator

@sothawo sothawo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for that PR; 2 changes to do

Comment thread pom.xml Outdated
Added support for retreving the query execution time from took() method of ResponseBody class as java.time.Duration in SearchDocumentResponseBuilder class.

Closes spring-projects#2986
@sothawo sothawo merged commit d2ab03e into spring-projects:main Oct 22, 2024
JKatzwinkel added a commit to JKatzwinkel/tla-es that referenced this pull request Dec 7, 2024
* build(deps): bump org.springframework.data:spring-data-elasticsearch

Bumps [org.springframework.data:spring-data-elasticsearch](https://github.com/spring-projects/spring-data-elasticsearch) from 5.4.0-RC1 to 5.4.0.
- [Release notes](https://github.com/spring-projects/spring-data-elasticsearch/releases)
- [Commits](spring-projects/spring-data-elasticsearch@5.4.0-RC1...5.4.0)

---
updated-dependencies:
- dependency-name: org.springframework.data:spring-data-elasticsearch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* add execution duration to search hits mocks

spring-projects/spring-data-elasticsearch#2991

spring-projects/spring-data-elasticsearch@d2ab03e

* bump elasticsearch from 8.16.0 to 8.16.1

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JKatzwinkel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "took" attribute to SearchHits/ReactiveSearchHits

3 participants