Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Łukasz Rynek <[email protected]>
  • Loading branch information
lrynek and natebower authored Jul 9, 2024
1 parent 0f002f2 commit ef99197
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _query-dsl/compound/function-score.md
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ When defining a function, you can specify its name using the `_name` parameter a

### Example

The following request sets `explain` to `true` for debugging purposes in order to obtain scoring explanation in the response. Each function contains a `_name` parameter so you can identify the function unambiguously:
The following request sets `explain` to `true` for debugging purposes in order to obtain a scoring explanation in the response. Each function contains a `_name` parameter so that you can identify the function unambiguously:

```json
GET blogs/_search
Expand Down Expand Up @@ -1020,4 +1020,3 @@ The response explains the scoring process. For each function, the explanation co
```
</details>

As you can see, the explanation contains the name in the respective function's description.

0 comments on commit ef99197

Please sign in to comment.