getSearchParams #
Available since 2.11.0
Returns the parameters associated to a standardized search query.
Arguments #
getSearchParams (): {
from: number,
query: JSONObject,
scrollTTL: string,
searchBody: JSONObject,
size: number,
}
Example #
const { from, size, query, scrollTTL, searchBody } = request.getSearchParams();
Edit this page on Github(opens new window)