File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,8 @@ content: |
190
190
* - :expression:`$indexOfArray`
191
191
192
192
- Searches an array for an occurrence of a specified value and
193
- returns the array index of the first occurrence. If the
194
- substring is not found, returns ``-1`` .
193
+ returns the array index of the first occurrence. Array indexes start
194
+ at zero .
195
195
196
196
* - :expression:`$isArray`
197
197
Original file line number Diff line number Diff line change @@ -613,8 +613,7 @@ Alphabetical Listing of Expression Operators
613
613
* - :expression:`$indexOfArray`
614
614
615
615
- Searches an array for an occurrence of a specified value and returns
616
- the array index of the first occurrence. If the substring is not found,
617
- returns ``-1``.
616
+ the array index of the first occurrence. Array indexes start at zero.
618
617
619
618
620
619
* - :expression:`$indexOfBytes`
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ Definition
16
16
.. expression:: $indexOfArray
17
17
18
18
Searches an array for an occurrence of a specified value and returns
19
- the array index (zero-based) of the first occurrence. If the
20
- value is not found, returns ``-1``.
19
+ the array index of the first occurrence. Array indexes start at zero.
21
20
22
21
:expression:`$indexOfArray` has the following :ref:`operator
23
22
expression syntax <agg-quick-ref-operator-expressions>`:
You can’t perform that action at this time.
0 commit comments