OpenSearch/docs/reference/search
Jason Tedor d01a62908a Change separator for shards preference
The shards preference on a search request enables specifying a list of
shards to hit, and then a secondary preference (e.g., "_primary") can be
added. Today, the separator between the shards list and the secondary
preference is ';'. Unfortunately, this is also a valid separtor for URL
query parameters. This means that a preference like "_shards:0;_primary"
will be parsed into two URL parameters: "_shards:0" and "_primary". With
the recent change to strict URL parsing, the second parameter will be
rejected, "_primary" is not a valid URL parameter on a search
request. This means that this feature has never worked (unless the ';'
is escaped, but no one does that because our docs do not that, and there
was no indication from Elasticsearch that this did not work). This
commit changes the separator to '|'.

Relates #20786
2016-10-07 07:17:01 -05:00
..
request Change separator for shards preference 2016-10-07 07:17:01 -05:00
suggesters Stabelize tests in phrase-suggest.asciidoc 2016-09-29 11:13:17 +02:00
count.asciidoc Adds CONSOLE to count api 2016-05-18 13:36:19 +02:00
explain.asciidoc CONSOLEify some search docs 2016-09-14 13:06:37 -04:00
field-stats.asciidoc Revert "Add console to docs for inner hits, explain, and friends" 2016-08-01 14:09:54 +02:00
multi-search.asciidoc Add docs to template support for _msearch (#17382) 2016-09-13 13:19:25 +02:00
percolate.asciidoc Update percolate.asciidoc 2016-08-30 13:05:02 +02:00
profile.asciidoc Convert more search docs to CONSOLE 2016-09-15 11:58:21 -04:00
request-body.asciidoc CONSOLEify some search docs 2016-09-14 13:06:37 -04:00
search-shards.asciidoc CONSOLEify some search docs 2016-09-14 13:06:37 -04:00
search-template.asciidoc Add profile and explain parameters to template API 2016-09-19 17:52:13 +02:00
search.asciidoc CONSOLEify some search docs 2016-09-14 13:06:37 -04:00
suggesters.asciidoc Consolify term and phrase suggester docs 2016-07-26 12:28:31 -04:00
uri-request.asciidoc Consolify term and phrase suggester docs 2016-07-26 12:28:31 -04:00
validate.asciidoc Remove most of the need for `// NOTCONSOLE` 2016-09-06 10:32:54 -04:00