Core
Framework v2.x
2

getSearchParams #

Available since 2.11.0

Returns the parameters associated to a standardized search query.

Arguments #

Copied to clipboard!
getSearchParams (): {
  from: number,
  query: JSONObject,
  scrollTTL: string,
  searchBody: JSONObject,
  size: number,
}

Example #

Copied to clipboard!
const { from, size, query, scrollTTL, searchBody } = request.getSearchParams();