Skip to content

Commit

Permalink
Edits to text in refresh docs (#39188)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeiss authored and jtibshirani committed Feb 21, 2019
1 parent 534eeee commit f243c3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/docs/refresh.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ compared to `true`. In the case that the index is only changed once every
`index.refresh_interval` then it saves no work.
* `true` creates less efficient indexes constructs (tiny segments) that must
later be merged into more efficient index constructs (larger segments). Meaning
that the cost of `true` is payed at index time to create the tiny segment, at
that the cost of `true` is paid at index time to create the tiny segment, at
search time to search the tiny segment, and at merge time to make the larger
segments.
* Never start multiple `refresh=wait_for` requests in a row. Instead batch them
Expand All @@ -58,7 +58,7 @@ causes a refresh. Conversely, setting `index.refresh_interval` to something
shorter than the default like `200ms` will make `refresh=wait_for` come back
faster, but it'll still generate inefficient segments.
* `refresh=wait_for` only affects the request that it is on, but, by forcing a
refresh immediately, `refresh=true` will affect other ongoing request. In
refresh immediately, `refresh=true` will affect other ongoing requests. In
general, if you have a running system you don't wish to disturb then
`refresh=wait_for` is a smaller modification.

Expand Down

0 comments on commit f243c3c

Please sign in to comment.