Skip to content

Commit 08d0072

Browse files
authored
docs: fix typo (docarray#325)
1 parent 6f7532f commit 08d0072

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/fundamentals/documentarray/access-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ da['@path1,path2,path3']
135135

136136
- The path-string must starts with `@`.
137137
- Multiple paths are separated by comma `,`.
138-
- A path represents the route from the top-level Documents to the destination. You can use `c` to select chunks, `cc` to select chunks of the chunks, `m` to select matches, `mc` to select matches of the chunks, `r` to select the top-level Documents.
138+
- A path represents the route from the top-level Documents to the destination. You can use `c` to select chunks, `cc` to select chunks of the chunks, `m` to select matches, `mc` to select chunks of the matches, `r` to select the top-level Documents.
139139
- A path can only go deep, not go back. You can use comma `,` to start a new path from the very top-level.
140140
- Optionally, you can specify a slice or offset at each level, for example, `r[-1]m[:3]` will select the first 3 matches of the last root document.
141141

docs/fundamentals/documentarray/matching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Though both `.find()` and `.match()` is about finding nearest neighbours of a gi
2323

2424
##### What is the return?
2525
- `.find()` returns a List of DocumentArray, each of which corresponds to one element/row in the query.
26-
- `.match()` do not return anything. Match results are stored inside right-hand side's `.matches`.
26+
- `.match()` do not return anything. Match results are stored inside left-hand side's `.matches`.
2727

2828
In the sequel, we will use `.match()` to describe the features. But keep in mind that `.find()` should also work by simply switching the right and left-hand sides.
2929

0 commit comments

Comments
 (0)