Add intervals query tutorial with runnable examples and advanced use cases#5585
Draft
Add intervals query tutorial with runnable examples and advanced use cases#5585
Conversation
…ix use case Co-authored-by: leemthompo <32779855+leemthompo@users.noreply.github.com> Agent-Logs-Url: https://github.com/elastic/docs-content/sessions/bc2dc533-b754-466a-b219-02e150b9c84b
Copilot
AI
changed the title
[WIP] Enhance intervals query page based on user feedback
Add intervals query tutorial with runnable examples and advanced use case
Mar 23, 2026
Member
|
@copilot this needs some polish and the cognitive boost of a stronger model like Opus 4.6 Please read, critique, and update the changes accordingly based on a thorough review |
…curacy, add filter example Major improvements: - Restructure to follow Elastic tutorial content type template (frontmatter with description/navigation_title, "Before you begin", numbered steps, summary section) - Replace thin sample data with richer book synopses that better demonstrate each feature - Fix factual error in any_of example (doc 5 matches too, gap=2) - Add max_gaps: 0 to outer all_of in basic example to actually enforce adjacency (was misleading before) - Add Step 5: filter example with not_containing (demonstrates an additional advanced use case from the reference page) - Fix prefix example: sample data now includes both "fast" and "faster" to meaningfully demonstrate prefix expansion - Revert querydsl.md (sub-bullet was inconsistent with page structure) - Simplify full-text.md change to a single bullet under existing section Co-authored-by: leemthompo <32779855+leemthompo@users.noreply.github.com> Agent-Logs-Url: https://github.com/elastic/docs-content/sessions/8101e7ca-119f-4e37-a334-76fe7a08b9dd
Contributor
Author
Thoroughly reviewed and polished in f0a3740. Key changes: Structural alignment with tutorial template:
Fixed accuracy issues:
Better sample data and examples:
Reverted over-reach:
|
Copilot
AI
changed the title
Add intervals query tutorial with runnable examples and advanced use case
Add intervals query tutorial with runnable examples and advanced use cases
Mar 23, 2026
Contributor
✅ Vale Linting ResultsNo 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User feedback on the intervals query reference page identified gaps: no runnable examples with sample data, no example responses, and no advanced use cases beyond what the reference already covers.
Changes
New tutorial
solutions/search/full-text/intervals-query-tutorial.md:description/navigation_title, "Before you begin", numbered steps, summary, next steps)all_of+max_gaps: 0)all_of+any_offor flexible unordered matchingprefixrule for term-expansion proximity search — includes performance warning on expansion limitsfilterrule (not_containing) to exclude unwanted terms from proximity matchesstandardanalyzer,match_phrase, and full-text query referencesolutions/search/full-text.md: Tutorial added as a bullet under the existing "Elasticsearch query languages" sectionsolutions/toc.yml: Tutorial added to full-text navigationOriginal prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.