@@ -22,6 +22,9 @@ |
||
| 22 | 22 | return ['app_title' => $index . '/' . $type, 'data' => ['index' => $index, 'type' => $type, 'documents' => $documents, 'from' => $from, 'nof' => $nof, 'size' => $size, 'sort' => $sort, 'query' => $query]]; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | +/** |
|
| 26 | + * @param integer $size |
|
| 27 | + */ |
|
| 25 | 28 | function es_type_query($request, $index, $type, $size){ |
| 26 | 29 | $params = []; |
| 27 | 30 | $from = $request->getParam('from', 0); |