You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/api/mtermvectors.js
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ function buildMtermvectors (opts) {
29
29
* Perform a [mtermvectors](http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html) request
30
30
*
31
31
* @param {string} index - The index in which the document resides.
32
+
* @param {string} type - The type of the document.
32
33
* @param {list} ids - A comma-separated list of documents ids. You must define ids as parameter or set "ids" or "docs" in the request body
33
34
* @param {boolean} term_statistics - Specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs".
34
35
* @param {boolean} field_statistics - Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. Applies to all returned documents unless otherwise specified in body "params" or "docs".
@@ -86,14 +87,20 @@ function buildMtermvectors (opts) {
Copy file name to clipboardExpand all lines: api/api/search.js
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ function buildSearch (opts) {
29
29
* Perform a [search](http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html) request
30
30
*
31
31
* @param {list} index - A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
32
+
* @param {list} type - A comma-separated list of document types to search; leave empty to perform the operation on all types
32
33
* @param {string} analyzer - The analyzer to use for the query string
33
34
* @param {boolean} analyze_wildcard - Specify whether wildcard and prefix queries should be analyzed (default: false)
34
35
* @param {boolean} ccs_minimize_roundtrips - Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution
@@ -172,14 +173,20 @@ function buildSearch (opts) {
Copy file name to clipboardExpand all lines: api/api/search_template.js
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ function buildSearchTemplate (opts) {
29
29
* Perform a [search_template](http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html) request
30
30
*
31
31
* @param {list} index - A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
32
+
* @param {list} type - A comma-separated list of document types to search; leave empty to perform the operation on all types
32
33
* @param {boolean} ignore_unavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
33
34
* @param {boolean} ignore_throttled - Whether specified concrete, expanded or aliased indices should be ignored when throttled
34
35
* @param {boolean} allow_no_indices - Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
@@ -97,14 +98,20 @@ function buildSearchTemplate (opts) {
0 commit comments