Skip to content

Commit

Permalink
Tech review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Fanit Kolchina <[email protected]>
  • Loading branch information
kolchfa-aws committed Jun 13, 2024
1 parent 65aff3d commit 2c1df5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _field-types/supported-field-types/derived.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ The response contains highlighting in the `url` field:

Derived fields are not indexed but are computed dynamically by retrieving values from the `_source` field or doc values. Thus, they can be slow to execute. To improve performance, try the following:

- Prune the search space by adding query filters on indexed fields and derived fields.
- Prefer using doc values over `_source` in the script for faster access.
- Prune the search space by adding query filters on indexed fields together with derived fields.
- Prefer using doc values over `_source` in the script for faster access, whenever applicable.
- Consider using a [`prefilter_field`](#prefilter-field) to automatically prune the search space without explicit filters in the search request.

### Prefilter field
Expand Down

0 comments on commit 2c1df5c

Please sign in to comment.