Lines Matching refs:string

52      * @var string[]
87 * @param Index $index Index object or string
99 'Passing a string as 1st argument to "%s()" is deprecated, pass an Index instance or use "addIndexByName" instead. It will throw a %s in 8.0.',
109 return $this->addIndexByName((string) $index);
115 public function addIndexByName(string $index): self
154 * @param string[] $indices
160 throw new InvalidException('Invalid param type for addIndicesByName(), expected string[]');
169 * @param AbstractQuery|AbstractSuggest|array|Collapse|Query|string|Suggest|null $query
182 public function setOption(string $key, $value): self
212 public function addOption(string $key, $value): self
221 public function hasOption(string $key): bool
231 public function getOption(string $key)
256 * @return string[]
279 'Passing a string as 1st argument to "%s()" is deprecated, pass an Index instance or use "hasIndexByName" instead. It will throw a %s in 8.0.',
288 public function hasIndexByName(string $index): bool
313 public function getPath(): string
325 * @param AbstractQuery|AbstractSuggest|array|Collapse|Query|string|Suggest|null $query
335 public function search($query = '', $options = null, string $method = Request::POST): ResultSet
358 * @param array|Query|Query\AbstractQuery|string $query
367 public function count($query = '', bool $fullResult = false, string $method = Request::POST)
391 * @param AbstractQuery|AbstractSuggest|array|Collapse|Query|string|Suggest|null $query
428 public function scroll(string $expiryTime = '1m'): Scroll
441 protected function validateOption(string $key): void