Merge branch 'master' into 2.3
This commit is contained in:
@ -10,7 +10,7 @@ client.index({
|
||||
tags: ['y', 'z'],
|
||||
published: true,
|
||||
}
|
||||
}, function (error response) {
|
||||
}, function (error, response) {
|
||||
|
||||
});
|
||||
---------
|
||||
@ -874,7 +874,7 @@ client.index({
|
||||
tags: ['y', 'z'],
|
||||
published: true,
|
||||
}
|
||||
}, function (error response) {
|
||||
}, function (error, response) {
|
||||
|
||||
});
|
||||
---------
|
||||
@ -1570,6 +1570,8 @@ Options:::
|
||||
`Text` -- The source text for which the suggestions should be returned
|
||||
`timeout`::
|
||||
`Date, Number` -- Explicit operation timeout
|
||||
`trackScores`::
|
||||
`Boolean` -- Whether to calculate and return scores even if they are not used for sorting
|
||||
`version`::
|
||||
`Boolean` -- Specify whether to return document version as part of a hit
|
||||
`index`::
|
||||
@ -3718,7 +3720,7 @@ The default method is `GET` and the usual <<api-conventions,params and return va
|
||||
`fields`::
|
||||
`String, String[], Boolean` -- A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards)
|
||||
`groups`::
|
||||
`Boolean` -- A comma-separated list of search groups for `search` index metric
|
||||
`String, String[], Boolean` -- A comma-separated list of search groups for `search` index metric
|
||||
`human`::
|
||||
`Boolean` -- Whether to return time and byte values in human-readable format.
|
||||
`[level=indices]`::
|
||||
|
||||
@ -740,7 +740,7 @@ client.index({
|
||||
tags: ['y', 'z'],
|
||||
published: true,
|
||||
}
|
||||
}, function (error response) {
|
||||
}, function (error, response) {
|
||||
|
||||
});
|
||||
---------
|
||||
|
||||
@ -835,7 +835,7 @@ client.index({
|
||||
tags: ['y', 'z'],
|
||||
published: true,
|
||||
}
|
||||
}, function (error response) {
|
||||
}, function (error, response) {
|
||||
|
||||
});
|
||||
---------
|
||||
@ -1502,6 +1502,8 @@ Options:::
|
||||
`Text` -- The source text for which the suggestions should be returned
|
||||
`timeout`::
|
||||
`Date, Number` -- Explicit operation timeout
|
||||
`trackScores`::
|
||||
`Boolean` -- Whether to calculate and return scores even if they are not used for sorting
|
||||
`version`::
|
||||
`Boolean` -- Specify whether to return document version as part of a hit
|
||||
`index`::
|
||||
|
||||
@ -849,7 +849,7 @@ client.index({
|
||||
tags: ['y', 'z'],
|
||||
published: true,
|
||||
}
|
||||
}, function (error response) {
|
||||
}, function (error, response) {
|
||||
|
||||
});
|
||||
---------
|
||||
@ -1520,6 +1520,8 @@ Options:::
|
||||
`Text` -- The source text for which the suggestions should be returned
|
||||
`timeout`::
|
||||
`Date, Number` -- Explicit operation timeout
|
||||
`trackScores`::
|
||||
`Boolean` -- Whether to calculate and return scores even if they are not used for sorting
|
||||
`version`::
|
||||
`Boolean` -- Specify whether to return document version as part of a hit
|
||||
`index`::
|
||||
|
||||
@ -153,7 +153,7 @@ client.search({
|
||||
response.render('search_results', {
|
||||
results: response.hits.hits,
|
||||
page: pageNum,
|
||||
pages: Math.ceil(response.hists.total / perPage)
|
||||
pages: Math.ceil(response.hits.total / perPage)
|
||||
})
|
||||
});
|
||||
-----------------
|
||||
|
||||
Reference in New Issue
Block a user