Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add text structure API examples #3487

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Add text structure API examples #3487

merged 1 commit into from
Jan 9, 2025

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Jan 9, 2025

Relates to #2482

This PR copies examples from https://www.elastic.co/guide/en/elasticsearch/reference/master/text-structure-apis.html
It also edits some descriptions and adds missing doc_id values.

Copy link
Contributor

github-actions bot commented Jan 9, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
text_structure.find_field_structure 🟢 1/1 1/1
text_structure.find_message_structure 🟢 2/2 2/2
text_structure.find_structure 🟢 2/2 2/2
text_structure.test_grok_pattern 🟢 2/2 2/2

You can validate these APIs yourself by using the make validate target.

@lcawl lcawl requested a review from a team January 9, 2025 15:24
@lcawl lcawl marked this pull request as ready for review January 9, 2025 15:25
Copy link
Contributor

@szabosteve szabosteve left a comment

Choose a reason for hiding this comment

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

LGTM!

@lcawl lcawl merged commit 10e3a0a into main Jan 9, 2025
14 checks passed
@lcawl lcawl deleted the text-structure-examples branch January 9, 2025 17:39
github-actions bot pushed a commit that referenced this pull request Jan 9, 2025
(cherry picked from commit 10e3a0a)
github-actions bot pushed a commit that referenced this pull request Jan 9, 2025
(cherry picked from commit 10e3a0a)
lcawl added a commit that referenced this pull request Jan 9, 2025
(cherry picked from commit 10e3a0a)

Co-authored-by: Lisa Cawley <[email protected]>
lcawl added a commit that referenced this pull request Jan 9, 2025
(cherry picked from commit 10e3a0a)

Co-authored-by: Lisa Cawley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants