Skip to content

Conversation

elastic-thanos
Copy link
Contributor

@elastic-thanos elastic-thanos commented Sep 25, 2024

Remove unnecessary argument

@elastic-thanos elastic-thanos self-assigned this Sep 25, 2024
Copy link

gitnotebooks bot commented Sep 25, 2024

Found 1 changed notebook. Review the changes at https://app.gitnotebooks.com/elastic/elasticsearch-labs/pull/333

@elastic-thanos elastic-thanos changed the title Remove unnecessary argument supporting-blog-content/evaluating-search-relevance-part-1 Sep 25, 2024
Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM.

For what it's worth, we discussed this offline with @elastic-thanos:

  • The correct way to refresh bulk calls is to add refresh="wait_for" to the bulk() call. The existing way was only adding a refresh field in the documents
  • That said, doing that will refresh for every single bulk call (by default every 500 docs) and it is more efficient to only do it once at the end, which is already done in this notebook anyway.
@elastic-thanos elastic-thanos merged commit 8fd7542 into main Sep 25, 2024
2 checks passed
@elastic-thanos elastic-thanos deleted the eval-part-1-fix branch September 25, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants