OpenSearch/docs/reference
David Pilato 5d90abf701 mget API should support global routing parameter
mget API support `_routing` field but not `routing` parameter.

Reproduction here:

```sh
curl -XDELETE "http://localhost:9200/test/"; echo
curl -XPUT "http://localhost:9200/test/" -d'{
   "settings": {
      "number_of_replicas": 0,
      "number_of_shards": 5
   }
}'; echo

curl -XPUT 'http://localhost:9200/test/order/1-1?routing=key1' -d '{
   "productName":"doc 1"
}'; echo
curl -XPUT 'http://localhost:9200/test/order/1-2?routing=key1' -d '{
   "productName":"doc 2"
}'; echo
curl -XPUT 'http://localhost:9200/test/order/1-3?routing=key1&refresh=true' -d '{
   "productName":"doc 3"
}'; echo

curl -XPOST 'http://localhost:9200/test/order/_mget?pretty' -d '{
    "docs" : [
        {
            "_index" : "test",
            "_type" : "order",
            "_id" : "1-1",
            "_routing" : "key1"
        },
        {
            "_index" : "test",
            "_type" : "order",
            "_id" : "1-2",
            "_routing" : "key1"
        },
        {
            "_index" : "test",
            "_type" : "order",
            "_id" : "1-3",
            "_routing" : "key1"
        }
    ]
}'; echo

curl -XPOST 'http://localhost:9200/test/order/_mget?pretty&routing=key1' -d '{
	"ids": [
		"1-1",
		"1-2",
		"1-3"
	]
}'; echo
```

Closes #3996.
2013-10-28 21:05:55 +01:00
..
analysis Fix nonsensical sentence in standard analyzer documentation so that it is more understandable 2013-10-25 00:18:32 +02:00
cluster Clean up wording to reduce confusion 2013-10-21 12:37:50 +01:00
docs mget API should support global routing parameter 2013-10-28 21:05:55 +01:00
images add docs on new service.bat facility 2013-09-23 18:24:31 +03:00
index-modules [DOCS] Added compound_on_flush docs and updated compound_format 2013-10-15 13:30:56 +02:00
indices [DOCS] Added compound_on_flush docs and updated compound_format 2013-10-15 13:30:56 +02:00
mapping rename and document "index.mapping.date.parse_upper_inclusive" setting for date fields 2013-10-28 15:48:31 +01:00
modules [DOCS] Added script.disable_dynamic to the scripting page 2013-10-15 12:25:07 +02:00
query-dsl [Docs] update reference to remove documentation about percolating during an index, bulk or update request. 2013-10-16 16:31:36 +02:00
search Added third highlighter type based on lucene postings highlighter 2013-10-24 23:38:00 +02:00
setup [DOCS] How to check max_file_descriptors 2013-10-17 11:54:36 +02:00
analysis.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
api-conventions.asciidoc [DOCS] Reorganised common API conventions 2013-10-13 16:46:56 +02:00
cluster.asciidoc [DOCS] Reorganised common API conventions 2013-10-13 16:46:56 +02:00
docs.asciidoc [DOCS] Reorganised common API conventions 2013-10-13 16:46:56 +02:00
glossary.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
index-modules.asciidoc [DOCS] Added compound_on_flush docs and updated compound_format 2013-10-15 13:30:56 +02:00
index.asciidoc [DOCS] Reorganised common API conventions 2013-10-13 16:46:56 +02:00
indices.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
mapping.asciidoc Uniquify anchor links to fix asciidoc/docbook generation 2013-09-30 15:32:00 -06:00
modules.asciidoc [DOCS] Removed outdated new/deprecated version notices 2013-09-03 21:28:31 +02:00
query-dsl.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
search.asciidoc [Docs] update reference to remove documentation about percolating during an index, bulk or update request. 2013-10-16 16:31:36 +02:00
setup.asciidoc add docs on new service.bat facility 2013-09-23 18:24:31 +03:00