OpenSearch/docs/reference/search
Luca Cavanna db8b2dceea Remove ignored type parameter in search_shards api (#21688)
The `type` parameter has always been accepted by the search_shards api, probably to make the api and its urls the same as search. Truth is that the type never had any effect, it's been ignored from day one while accepting it may make users think that we actually do something with it.

This commit removes support for the type parameter from the REST layer and the Java API. Backwards compatibility is maintained on the transport layer though.

The new added serialization test also uncovered a bug in the java API where the `ClusterSearchShardsRequest` could be created with no arguments, but the indices were required to be not null otherwise the request couldn't be serialized as `writeTo` would throw NPE. Fixed by setting a default value (empty array) for indices.
2016-11-22 17:22:33 +01:00
..
request Documentation updates for scroll API size parameter (#21229) 2016-11-01 15:55:09 -04:00
suggesters fix two errors in suggester docs 2016-11-18 12:05:49 +01:00
count.asciidoc Remove `lowercase_expanded_terms` and `locale` from query-parser options. (#20208) 2016-11-02 14:25:08 +01:00
explain.asciidoc Remove `lowercase_expanded_terms` and `locale` from query-parser options. (#20208) 2016-11-02 14:25:08 +01: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 Makes search action cancelable by task management API 2016-10-25 12:27:34 -10:00
request-body.asciidoc CONSOLEify some search docs 2016-09-14 13:06:37 -04:00
search-shards.asciidoc Remove ignored type parameter in search_shards api (#21688) 2016-11-22 17:22:33 +01: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 Remove `lowercase_expanded_terms` and `locale` from query-parser options. (#20208) 2016-11-02 14:25:08 +01:00
validate.asciidoc Allow overriding all-field leniency when `lenient` option is specified 2016-11-21 21:32:25 -07:00