Skip to content

Commit 451b7c2

Browse files
committed
Removed hard limit
The ES default is 100, however users can set their own config in ES
1 parent 6d4e0a4 commit 451b7c2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Query/Grammar.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,7 @@ public function _buildInnerHits($innerQuery)
548548
$innerHits['from'] = $innerQuery->offset;
549549
}
550550
if ($size = $innerQuery->getSetLimit()) {
551-
// TODO: David should we handle this diffrently?
552-
// Nested queries have a hard limit of 100 for inner_hits size
553-
$innerHits['size'] = min($size, 100);
551+
$innerHits['size'] = $size;
554552
}
555553

556554
return $innerHits;

0 commit comments

Comments
 (0)