Skip to content

Commit

Permalink
Clarify preference docs
Browse files Browse the repository at this point in the history
This commit clarifies the preference docs regarding the explanation of
how operations are routed by default. In particular, the previous use of
"shard replicas" was confusing as it could imply an operation would only
be routed to replicas by default.

Relates #23794
  • Loading branch information
GlenRSmith authored and jasontedor committed Mar 29, 2017
1 parent 2950afb commit d6cfefa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/reference/search/request/preference.asciidoc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[[search-request-preference]]
=== Preference

Controls a `preference` of which shard replicas to execute the search
request on. By default, the operation is randomized between the shard
replicas.
Controls a `preference` of which shard copies on which to execute the
search. By default, the operation is randomized among the available shard copies.

The `preference` is a query string parameter which can be set to:

Expand Down

0 comments on commit d6cfefa

Please sign in to comment.