Skip to content

Fix search template array example#4925

Open
spinscale wants to merge 1 commit intoelastic:mainfrom
spinscale:fix-search-template-last-list-element-example
Open

Fix search template array example#4925
spinscale wants to merge 1 commit intoelastic:mainfrom
spinscale:fix-search-template-last-list-element-example

Conversation

@spinscale
Copy link

Summary

This fixes the example when using mustache templates with array data as the current example would not create a valid query at all. It also changes to a more useful example, by using field names instead of random field values.

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No

This fixes the example when using mustache templates with array data. It also
changes to a more useful example, by using field names instead of random field
values.
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

✅ Vale Linting Results

No issues found on modified lines!


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.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

🔍 Preview links for changed docs

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.

1 participant