Home
last modified time | relevance | path

Searched refs:InvalidException (Results 26 – 50 of 50) sorted by relevance

12

/plugin/elasticsearch/vendor/ruflin/elastica/src/Query/
H A DFuzzy.php5 use Elastica\Exception\InvalidException; alias
38 throw new InvalidException('Fuzzy query can only support a single field.');
56 throw new InvalidException('No field has been set');
H A DTerms.php5 use Elastica\Exception\InvalidException; alias
28 throw new InvalidException('Terms field name has to be set');
59 throw new InvalidException('Mixed terms and terms lookup are not allowed.');
H A DBoolQuery.php5 use Elastica\Exception\InvalidException; alias
104 * @throws InvalidException If not valid query
111 throw new InvalidException('Invalid parameter. Has to be array or instance of Elastica\Query\AbstractQuery');
H A DSpanNear.php5 use Elastica\Exception\InvalidException; alias
25 throw new InvalidException('Invalid parameter. Has to be array or instance of '.AbstractSpanQuery::class);
H A DTermsSet.php5 use Elastica\Exception\InvalidException; alias
25 throw new InvalidException('TermsSet field name has to be set');
/plugin/elasticsearch/vendor/ruflin/elastica/src/Aggregation/
H A DIpRange.php5 use Elastica\Exception\InvalidException; alias
44 * @throws InvalidException
51 throw new InvalidException('Either fromValue or toValue must be set. Both cannot be null.');
H A DGeoDistance.php5 use Elastica\Exception\InvalidException; alias
63 * @throws InvalidException
70 throw new InvalidException('Either fromValue or toValue must be set. Both cannot be null.');
H A DAbstractAggregation.php5 use Elastica\Exception\InvalidException; alias
63 * @throws InvalidException
70 throw new InvalidException('Global aggregators can only be placed as top level aggregators');
H A DAbstractSimpleAggregation.php5 use Elastica\Exception\InvalidException; alias
39 throw new InvalidException('Either the field param or the script param should be set');
H A DFilters.php5 use Elastica\Exception\InvalidException; alias
38 throw new InvalidException('Mix named and anonymous keys are not allowed');
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DResultSet.php5 use Elastica\Exception\InvalidException; alias
127 * @throws Exception\InvalidException if an aggregation by the given name cannot be found
137 throw new InvalidException("This result set does not contain an aggregation named {$name}.");
296 * @throws Exception\InvalidException If offset doesn't exist
304 throw new InvalidException('Offset does not exist.');
315 * @throws Exception\InvalidException
320 throw new InvalidException('ResultSet is a collection of Result only.');
324 throw new InvalidException('Offset does not exist.');
H A DConnection.php5 use Elastica\Exception\InvalidException; alias
247 * @throws InvalidException If invalid transport type
305 * @throws InvalidException
317 throw new InvalidException('Config key is not set: '.$key);
326 * @throws Exception\InvalidException
340 throw new InvalidException('Invalid data type');
H A DIndexTemplate.php7 use Elastica\Exception\InvalidException;
36 * @throws InvalidException
43 throw new InvalidException('Index template should be a scalar type');
5 use Elastica\Exception\InvalidException; global() alias
H A DBulk.php12 use Elastica\Exception\InvalidException;
203 * @throws InvalidException
224 throw new InvalidException('Invalid bulk data, source must follow action metadata');
227 throw new InvalidException('Invalid bulk data, should be array of array, Document or Bulk/Action');
294 * @throws InvalidException
305 * @throws InvalidException
322 throw new InvalidException('No response found for action #'.$key);
11 use Elastica\Exception\InvalidException; global() alias
H A DPipeline.php7 use Elastica\Exception\InvalidException;
58 throw new InvalidException('You should set a valid pipeline id');
62 throw new InvalidException('You should set a valid processor description.');
66 throw new InvalidException('You should set a valid processor of type Elastica\Processor\AbstractProcessor.');
5 use Elastica\Exception\InvalidException; global() alias
H A DParam.php5 use Elastica\Exception\InvalidException; alias
103 * @throws InvalidException If requested key is not set
110 throw new InvalidException('Param '.$key.' does not exist');
H A DClientConfiguration.php5 use Elastica\Exception\InvalidException; alias
74 throw new InvalidException(\sprintf('DSN "%s" is invalid.', $dsnString), 0, $e);
111 * @throws InvalidException if the given key is not found in the configuration
122 throw new InvalidException('Config key is not set: '.$key);
H A DQuery.php6 use Elastica\Exception\InvalidException; alias
102 * @throws InvalidException For an invalid argument
122 throw new InvalidException('Unexpected argument to create a query for.');
356 * @throws InvalidException
467 throw new InvalidException('TrackTotalHits must be either a boolean, or an integer value');
H A DRequest.php6 use Elastica\Exception\InvalidException; alias
145 * @throws Exception\InvalidException If no valid connection was set
150 throw new InvalidException('No valid connection object set');
H A DIndex.php9 use Elastica\Exception\InvalidException;
165 * @throws InvalidException
267 * @throws InvalidException
405 * @throws InvalidException
463 * @throws InvalidException
490 throw new InvalidException(\sprintf('"%s" is not a valid option. Allowed options are "%s".', \implode('", "', $invalidOptions), \implode('", "', $allowedOptions)));
494 throw new InvalidException(\sprintf('"%s" are not valid options. Allowed options are "%s".', \implode('", "', $invalidOptions), \implode('", "', $allowedOptions)));
821 throw new InvalidException('Document or Script id is not set');
6 use Elastica\Exception\InvalidException; global() alias
H A DScroll.php7 use Elastica\Exception\InvalidException;
65 throw new InvalidException('Could not fetch the current ResultSet from an invalid iterator. Did you forget to call "valid()"?');
5 use Elastica\Exception\InvalidException; global() alias
/plugin/elasticsearch/vendor/ruflin/elastica/src/Suggest/
H A DAbstractSuggest.php5 use Elastica\Exception\InvalidException; alias
103 * @throws InvalidException If name is empty
110 throw new InvalidException('Suggest name has to be set');
/plugin/elasticsearch/vendor/ruflin/elastica/src/Transport/
H A DAbstractTransport.php7 use Elastica\Exception\InvalidException; alias
94 * @throws InvalidException
129 throw new InvalidException('Invalid transport');
/plugin/elasticsearch/vendor/ruflin/elastica/src/Exception/
H A DInvalidException.php10 class InvalidException extends \InvalidArgumentException implements ExceptionInterface class
/plugin/elasticsearch/vendor/ruflin/elastica/
H A DCHANGELOG.md846 - `Elastica\Exception\InvalidException` will be thrown if you try using an

12