Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Jun 12, 2024
1 parent c228fee commit f6f72cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/reference/es_compatible_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,16 +557,16 @@ Contrary to ES/Opensearch, in Quickwit, at most 50 terms will be considered when
#### Supported Multi-match Queries
| Type | Description |
| --------------- | ------------------------------------------------------------------------------------------- |
| `most_fields` | (default) Finds documents which match any field and combines the `_score` from each field. |
| `most_fields` | Finds documents matching any field and combines the `_score` from each field (default). |
| `phrase` | Runs a `match_phrase` query on each field. |
| `phrase_prefix` | Runs a `match_phrase_prefix` query on each field. |
| `bool_prefix` | Runs a `match_bool_prefix` query on each field. |

:::warning

In `phrase`, `phrase_prefix` and `bool_prefix` modes, Quickwit sums the score of the different fields instead of returns their max.
In `phrase`, `phrase_prefix` and `bool_prefix` modes, Quickwit sums the score of the different fields instead of returning their max.

Also, while Quickwit does not support `best_fields` or `cross_fields`, it will not return an error when presented a `best_fields` or `cross_fields` type. For compatibilility reasons, Quickwit will silently accept these parameters and interpret them as a `most_fields` type.
Moreover, while Quickwit does not support `best_fields` or `cross_fields`, it will not return an error when presented a `best_fields` or `cross_fields` type. For compatibilility reasons, Quickwit silently accepts these parameters and interprets them as a `most_fields` type.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub struct SearchBody {
#[serde(default)]
pub search_after: Vec<serde_json::Value>,

// Ignored values, only here for compatibility with opendashboard.
// Ignored values, only here for compatibility with OpenSearch Dashboards.
#[serde(default)]
pub _source: serde::de::IgnoredAny,
#[serde(default)]
Expand Down

0 comments on commit f6f72cd

Please sign in to comment.