Skip to content

Conversation

benwtrent
Copy link
Member

This adjusts the tuning guide in our docs.

  1. It specifically calls out the downside of excluding values from _source
  2. It removes the suggestion to force-merge segments. Instead, refers to the setting to allow the automatic background merging to create larger segments.

Copy link
Contributor

Documentation preview:

@elasticsearchmachine elasticsearchmachine added Team:Docs Meta label for docs team v9.0.0 Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Sep 25, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

high-dimensional `dense_vector` fields, the `_source` can be quite large and
expensive to load. This could significantly slow down the speed of kNN search.

NOTE: <<docs-reindex, reindex>>, <<docs-update, update>>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this "NOTE" be after a paragraph where we suggest disabling source?

Copy link
Contributor

@mayya-sharipova mayya-sharipova left a comment

Choose a reason for hiding this comment

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

Thanks @benwtrent , these adjustments are very good.

@benwtrent benwtrent merged commit 0cf6a83 into elastic:main Oct 1, 2024
6 checks passed
@benwtrent benwtrent deleted the docs/adj-knn-tuning-guide branch October 1, 2024 12:52
benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request Oct 1, 2024
NOTE: <<docs-reindex, reindex>>, <<docs-update, update>>,
and <<docs-update-by-query, update by query>> operations generally
require the `_source` field. Disabling `_source` for a field might result in
expected behavior for these operations. For example, reindex might not actually
Copy link
Contributor

Choose a reason for hiding this comment

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

the train has left the station but typo "might result in expected behavior"

benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request Oct 1, 2024
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x
8.15

matthewabbott pushed a commit to matthewabbott/elasticsearch that referenced this pull request Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>docs General docs changes :Search Relevance/Search Catch all for Search Relevance Team:Docs Meta label for docs team Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v8.15.3 v8.16.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants