-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[DOCS] EQL: Document indexOf function
#55071
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
Conversation
|
Pinging @elastic/es-docs (>docs) |
|
Pinging @elastic/es-ql (:Query Languages/EQL) |
astefan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left just one minor comment.
| Starting position for matching. The function will not return positions before | ||
| this one. Defaults to `0`. | ||
| Positions are zero-indexed. Negative offsets are supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add an example with a negative offset?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing. Added some examples with db8e027.
Documents the
indexOfEQL function.Relates to #54543 and #53856