updated to lastest version of 1.4 and master apis

This commit is contained in:
Spencer Alger
2014-11-07 17:54:17 -07:00
parent 1c2c6a1931
commit 12dec0849d
4 changed files with 55 additions and 0 deletions

View File

@ -1427,10 +1427,19 @@ Options:::
* `"open"`
* `"closed"`
`percolateFormat`::
`String` -- Return an array of matching query IDs instead of objects
Options:::
* `"ids"`
`percolateIndex`::
`String` -- The index to percolate the document into. Defaults to index.
`percolateType`::
`String` -- The type to percolate document into. Defaults to type.
`percolateRouting`::
`String` -- The routing value to use when percolating the existing document.
`percolatePreference`::
`String` -- Which shard to prefer when executing the percolate request.
`version`::
`Number` -- Explicit version number for concurrency control
`versionType`::

View File

@ -4762,8 +4762,11 @@ api.nodes.prototype.stats = ca({
* @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
* @param {Boolean} params.allowNoIndices - Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
* @param {String} [params.expandWildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both.
* @param {String} params.percolateFormat - Return an array of matching query IDs instead of objects
* @param {String} params.percolateIndex - The index to percolate the document into. Defaults to index.
* @param {String} params.percolateType - The type to percolate document into. Defaults to type.
* @param {String} params.percolateRouting - The routing value to use when percolating the existing document.
* @param {String} params.percolatePreference - Which shard to prefer when executing the percolate request.
* @param {Number} params.version - Explicit version number for concurrency control
* @param {String} params.versionType - Specific version type
* @param {String} params.index - The index of the document being percolated.
@ -4795,6 +4798,13 @@ api.percolate = ca({
],
name: 'expand_wildcards'
},
percolateFormat: {
type: 'enum',
options: [
'ids'
],
name: 'percolate_format'
},
percolateIndex: {
type: 'string',
name: 'percolate_index'
@ -4803,6 +4813,14 @@ api.percolate = ca({
type: 'string',
name: 'percolate_type'
},
percolateRouting: {
type: 'string',
name: 'percolate_routing'
},
percolatePreference: {
type: 'string',
name: 'percolate_preference'
},
version: {
type: 'number'
},

View File

@ -4757,8 +4757,11 @@ api.nodes.prototype.stats = ca({
* @param {Boolean} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
* @param {Boolean} params.allowNoIndices - Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
* @param {String} [params.expandWildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both.
* @param {String} params.percolateFormat - Return an array of matching query IDs instead of objects
* @param {String} params.percolateIndex - The index to percolate the document into. Defaults to index.
* @param {String} params.percolateType - The type to percolate document into. Defaults to type.
* @param {String} params.percolateRouting - The routing value to use when percolating the existing document.
* @param {String} params.percolatePreference - Which shard to prefer when executing the percolate request.
* @param {Number} params.version - Explicit version number for concurrency control
* @param {String} params.versionType - Specific version type
* @param {String} params.index - The index of the document being percolated.
@ -4790,6 +4793,13 @@ api.percolate = ca({
],
name: 'expand_wildcards'
},
percolateFormat: {
type: 'enum',
options: [
'ids'
],
name: 'percolate_format'
},
percolateIndex: {
type: 'string',
name: 'percolate_index'
@ -4798,6 +4808,14 @@ api.percolate = ca({
type: 'string',
name: 'percolate_type'
},
percolateRouting: {
type: 'string',
name: 'percolate_routing'
},
percolatePreference: {
type: 'string',
name: 'percolate_preference'
},
version: {
type: 'number'
},

View File

@ -4787,6 +4787,8 @@ api.nodes.prototype.stats = ca({
* @param {String} [params.expandWildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both.
* @param {String} params.percolateIndex - The index to percolate the document into. Defaults to index.
* @param {String} params.percolateType - The type to percolate document into. Defaults to type.
* @param {String} params.percolateRouting - The routing value to use when percolating the existing document.
* @param {String} params.percolatePreference - Which shard to prefer when executing the percolate request.
* @param {String} params.percolateFormat - Return an array of matching query IDs instead of objects
* @param {Number} params.version - Explicit version number for concurrency control
* @param {String} params.versionType - Specific version type
@ -4827,6 +4829,14 @@ api.percolate = ca({
type: 'string',
name: 'percolate_type'
},
percolateRouting: {
type: 'string',
name: 'percolate_routing'
},
percolatePreference: {
type: 'string',
name: 'percolate_preference'
},
percolateFormat: {
type: 'enum',
options: [