OpenSearch/docs/reference
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
..
aggregations CONSOLEify some aggs docs 2016-10-03 09:22:56 -04:00
analysis Fix minhash docs level 2016-09-19 07:54:04 -04:00
cat Fix broken regex in doc tests 2016-10-06 13:53:20 -04:00
cluster Remove lenient URL parameter parsing 2016-10-04 12:45:29 -04:00
docs Remove lenient URL parameter parsing 2016-10-04 12:45:29 -04:00
how-to Add more information to the how-to docs. #20297 2016-09-02 14:28:47 +02:00
images Docs: clarify calculation of sigma and lambda in function_score (#20267) 2016-09-02 14:41:07 +02:00
index-modules Update docs for Log4j 2 2016-08-31 15:51:52 -04:00
indices Switch more docs to CONSOLE 2016-09-02 18:22:30 -04:00
ingest docs: marked `foreach` processor as experimental 2016-09-30 12:23:42 +02:00
mapping Fix grammar issues in some docs 2016-10-05 11:20:45 -04:00
migration [DOCS] Remove non-valid link to mapping migration document 2016-09-28 09:09:19 -06:00
modules Remove LocalTransport in favor of MockTcpTransport (#20695) 2016-10-07 11:27:47 +02:00
query-dsl Fix grammar issues in some docs 2016-10-05 11:20:45 -04:00
search Change separator for shards preference 2016-10-07 07:17:01 -05:00
setup Fixed released_state docs switch to build correctly and include missing links 2016-10-06 21:42:11 +02:00
testing Remove most of the need for `// NOTCONSOLE` 2016-09-06 10:32:54 -04:00
aggregations.asciidoc CONSOLEify some aggs docs 2016-10-03 09:22:56 -04:00
analysis.asciidoc First pass at improving analyzer docs (#18269) 2016-05-11 14:17:56 +02:00
api-conventions.asciidoc Most date-math chars in index names need to be percent encoded 2016-10-06 15:44:42 +02:00
cat.asciidoc CONSOLEify some _cat docs 2016-10-06 13:37:21 -04:00
cluster.asciidoc Convert more docs to CONSOLE 2016-09-21 09:36:21 -04:00
docs.asciidoc Add support for waiting until a refresh occurs 2016-06-06 11:37:53 -04:00
getting-started.asciidoc CONSOLEify remaining getting-started docs 2016-10-06 14:06:48 -04:00
glossary.asciidoc Improve glossary to not refer to types as "like a table" (#17704) 2016-04-13 14:29:47 +02:00
how-to.asciidoc Add notes about sparsity. 2016-07-07 17:47:19 +02:00
index-modules.asciidoc Add a hard limit for `index.number_of_shard` (#20682) 2016-09-29 11:03:30 +02:00
index.asciidoc Fixed released_state docs switch to build correctly and include missing links 2016-10-06 21:42:11 +02:00
indices.asciidoc [DOCS] fix missing rollover-index link 2016-06-17 12:14:45 -04:00
ingest.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
mapping.asciidoc Reorganised docs for mapping safeguard settings 2016-09-22 14:58:17 +02:00
modules.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
query-dsl.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
redirects.asciidoc Convert more docs to CONSOLE 2016-09-20 13:12:12 -04:00
release-notes.asciidoc Remove links to release notes 2016-09-08 18:07:39 +02:00
search.asciidoc Fail build if new doc snippets aren't `// CONSOLE` 2016-09-19 16:43:43 -04:00
setup.asciidoc Die with dignity 2016-07-07 14:44:03 -04:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00