1 | <?php |
||
10 | class ElasticsearchGetDocumentCheckException extends ElasticsearchCheckException |
||
11 | { |
||
12 | const EXCEPTION_NAME = 'ElasticsearchGetDocumentCheck'; |
||
13 | |||
14 | const CODE_MIN_SIZE_INDEX = 5002; |
||
15 | const TEXT_MIN_SIZE_INDEX = 'index:%s type:%s has %d element min count is %d'; |
||
16 | |||
17 | /** |
||
18 | * @param string $index |
||
19 | * @param string $type |
||
20 | * @param int $size |
||
21 | * @param int $minSize |
||
22 | * |
||
23 | * @return ElasticsearchGetDocumentCheckException |
||
24 | */ |
||
25 | 1 | public static function emptyIndex($index, $type, $size, $minSize) |
|
29 | } |
||
30 |