Skip to content

Reorganize search-speed.md by optimization type - #8276

Open
georgewallace wants to merge 10 commits into
elastic:mainfrom
georgewallace:gwallace/search-speed-reorg
Open

georgewallace wants to merge 10 commits into
elastic:mainfrom
georgewallace:gwallace/search-speed-reorg

Conversation

@georgewallace

@georgewallace georgewallace commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Closes #6943

Made structural changes based on the issue suggestion. Decided to break it up into 3 sections because some of the query guidance is relevant to all query languages and some for Query DSL only. Did an SEO pass on the page and also validated the context in the doc with information from the elasticsearch repo to ensure it is correct.

What changed

search-speed.md: restructured from a flat list of ~20 H2 sections into three labeled groups:

  • Cluster and hardware tuning: applies to all query languages
  • Index design and maintenance: applies to all query languages, including ES|QL
  • Query DSL optimizations: Query DSL only

All 28 original anchors preserved verbatim (two are load-bearing cross-repo references from elasticsearch/node-settings.md and elasticsearch/copy-to.md).

Additional fixes made while restructuring:

  • applies_to validated against the elasticsearch repo; added ece: all to the filesystem cache section
  • Four correctness fixes: preload warning language, index_phrases terminology, index_prefixes scope, added diversified_sampler to the global ordinals aggregation list
  • H1 updated to "Tune Elasticsearch for search speed" (Pattern A per title guidance); navigation_title added to keep the sidebar label unchanged
  • Updated description frontmatter for SEO (leads with top-ranking queries: "elasticsearch performance tuning", "query optimization")
  • Style fixes throughout: active voice, present tense, contractions, wordiness, subjunctive mood

optimize-performance.md: removed the bullet and annotation for ES|QL. We already link to this topic from the search-speed page and other places, the annotation made the list render strangely. Looking at traffic data the vast majority of folks that landed on the es|ql performance page came from search-speed not from optimize performance.

Notes

  • Sibling pages (indexing-speed, disk-usage, etc.) still use "Tune for X" H1s without the product name, a follow-on will update those to Pattern A or Pattern B once meta_title ships in docs-builder.

🤖 Generated with Claude Code

georgewallace and others added 6 commits September 11, 2026 07:15
…n type

Resolves elastic#6943. The page was a flat list of ~20 H2
sections mixing infrastructure tuning, index design, and Query DSL-specific
advice with no signal to readers using ES|QL or other query languages.

Changes:
- Add three H2 groups: Cluster and hardware tuning, Index design and
  maintenance (all query languages), and Query DSL optimizations (DSL only)
- Demote existing H2s to H3; all existing anchor IDs carried over verbatim
  so inbound links from the elasticsearch repo are not broken
- Add intro tip callout explaining which sections apply to which readers
- Move index_phrases, constant_keyword, and index sorting to Index design
  group based on evidence from ES source that ES|QL benefits from them too
- Move global ordinals to Query DSL group (ES|QL STATS BY uses its own impl)
- Add cross-links to ES|QL and EQL performance guides in new Other query
  languages section
- Add type and description frontmatter fields
- Apply comprehensive style fixes: active voice, present tense, contractions,
  acronym expansions (JVM, LVM, SSD, ISBN, EQL), "in order to" → "to",
  "may" → "might" for possibility, directional "below" → "the following",
  "etc" → "and so on", fix broken Query DSL cross-link
- Fix pre-existing "sharing strategies" typo → "sharding strategies"
- Update parent optimize-performance.md annotation to reflect new structure

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ECE users configure JVM heap sizes directly (via --memory-settings and
instance RAM selection), so this advice applies to ECE as well as
self-managed and ECK. Verified against ece-jvm.md and resize-deployment.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Preload warning: rephrase from "too many files" to the actual condition
  (total preloaded data exceeds available RAM), per preloading docs
- index_phrases: "2-shingles" -> "two-term word combinations (shingles)"
  to match ES source terminology in index-phrases.md
- index_prefixes: clarify that only prefixes within the configured length
  range are indexed (2-5 chars by default), not all possible prefixes
- Global ordinals: add diversified_sampler to the list of aggregations
  that use global ordinals, per eager-global-ordinals.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rewrite the description to lead with the primary ranking queries
(elasticsearch performance tuning, query optimization) and add
latency/throughput signals to improve CTR from organic search.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- "in order to" → "to" (wordiness)
- "what is" → "what's" (contraction)
- "you'll write" → "you plan to write" (future tense → present)
- "that is used" → "that's used" (contraction)
- "should be mapped" → "needs to be mapped" (subjunctive)
- "you could split" → "you can split" (subjunctive)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- H1: "Tune Elasticsearch for search speed" (includes product name per title guidance)
- navigation_title: "Tune for search speed" (pins sidebar label, unchanged from before)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@georgewallace
georgewallace force-pushed the gwallace/search-speed-reorg branch from 4b0f3d7 to 11f47e1 Compare September 11, 2026 13:17
@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

georgewallace and others added 4 commits September 11, 2026 07:23
The annotation was redundant with the tip callout at the top of
search-speed.md and read awkwardly as subordinate list text.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- "heavily relies" → "relies heavily"
- Add missing comma after "For instance"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs Style Checker (Vale)

Summary: 3 warnings found

⚠️ Warnings (3): Fix when the suggestion improves clarity or correctness.
File Line Rule Message
deploy-manage/production-guidance/optimize-performance/search-speed.md 385 Elastic.Spelling 'cacheable' is a possible misspelling.
deploy-manage/production-guidance/optimize-performance/search-speed.md 435 Elastic.Spelling 'cacheable' is a possible misspelling.
deploy-manage/production-guidance/optimize-performance/search-speed.md 435 Elastic.Spelling 'cacheable' is a possible misspelling.

The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search optimization page should be broken down by type of optimization

1 participant