1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-09-03 19:02:57 +02:00

Update README.md: fix typo Arrary

This commit is contained in:
Lio李歐
2021-05-30 20:10:28 -07:00
committed by GitHub
parent 6e3ca4fa56
commit 308238bf83

View File

@@ -2427,15 +2427,15 @@ Compare these presets:
## Performance Guide
Methods to retrieve results sorted from fastest to slowest:
Methods to retrieve results, sorted from fastest to slowest:
1. `index.find(id) -> doc`
2. `index.where({field: string}) -> Arrary<doc>` with a tag on the same field
3. `index.search(query) -> Arrary<id>` when just adding _id_ and _content_ to the index (no documents)
4. `index.search(query) -> Arrary<doc>` when using documents
5. `index.search(query, { where }) -> Arrary<doc>` when using documents and a where clause
6. `index.where({field: [string, string]}) -> Arrary<doc>` when a tag was set to one of two fields
7. `index.where({field: string}) -> Arrary<doc>` when no tag was set to this field
2. `index.where({field: string}) -> Array<doc>` with a tag on the same field
3. `index.search(query) -> Array<id>` when just adding _id_ and _content_ to the index (no documents)
4. `index.search(query) -> Array<doc>` when using documents
5. `index.search(query, { where }) -> Array<doc>` when using documents and a where clause
6. `index.where({field: [string, string]}) -> Array<doc>` when a tag was set to one of two fields
7. `index.where({field: string}) -> Array<doc>` when no tag was set to this field
Methods to change index from fastest to slowest: