Core
Framework v2.x
2

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();