Skip to content

Commit

Permalink
add offset and limit in searchraw result
Browse files Browse the repository at this point in the history
  • Loading branch information
aynsix committed Jun 25, 2024
1 parent 4e62334 commit 11f8c9e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public function searchRawAction(Request $request)

$search_result = $se->queryraw((string)$request->get('query'), $options);

$search_result['offset'] = $offset;
$search_result['limit'] = $limit;

$stopwatch->lap("queryraw");

// queryraw returns also a stopwatch, get and remove it
Expand Down

0 comments on commit 11f8c9e

Please sign in to comment.