Home
last modified time | relevance | path

Searched refs:query (Results 176 – 200 of 964) sorted by last modified time

12345678910>>...39

/plugin/elasticsearch/vendor/ruflin/elastica/src/Multi/
H A DSearch.php159 $query = $search->getQuery();
161 // Keep other query options as part of the search body
165 $data .= JSON::stringify($query->toArray() + $queryOptions)."\n";
/plugin/elasticsearch/vendor/ruflin/elastica/src/Query/
H A DQueryString.php6 * QueryString query.
10 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html
22 * Creates query string object. Calls setQuery with argument.
32 * Sets a new query string for the object.
34 * @param string $query Query string
38 public function setQuery(string $query = ''): self argument
40 return $this->setParam('query', $query);
[all...]
H A DSimple.php6 * Simple query
7 * Pure php array query. Can be used to create any not existing type of query.
20 public function __construct(array $query) argument
22 $this->setQuery($query);
26 * Sets new query array.
28 * @param array $query Query array
32 public function setQuery(array $query): self argument
34 $this->_query = $query;
H A DSimpleQueryString.php8 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html
15 public function __construct(string $query, array $fields = []) argument
17 $this->setQuery($query);
24 * Set the querystring for this query.
26 * @param string $query see ES documentation for querystring syntax
30 public function setQuery(string $query): self argument
32 return $this->setParam('query', $query);
[all...]
H A DBoosting.php10 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-boosting-query.html
17 * Set the positive query for this Boosting Query.
21 public function setPositiveQuery(AbstractQuery $query): self argument
23 return $this->setParam('positive', $query);
27 * Set the negative query for this Boosting Query.
31 public function setNegativeQuery(AbstractQuery $query): self argument
33 return $this->setParam('negative', $query);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/examples/
H A D6a1702dd50690cae833572e48a0ddf25.asciidoc1 // query-dsl/multi-match-query.asciidoc:33
7 'query' => [
9 'query' => 'Will Smith',
H A D6bbc613bd4f9aec1bbdbabf5db021d28.asciidoc1 // query-dsl/multi-match-query.asciidoc:228
7 'query' => [
H A D6f21a878fee3b43c5332b81aaddbeac7.asciidoc1 // query-dsl/query-string-query.asciidoc:518
7 'query' => [
13 'query' => 'this OR that OR thus',
H A D75330ec1305d2beb0e2f34d2195464e2.asciidoc1 // query-dsl/match-all-query.asciidoc:23
7 'query' => [
H A D764f9884b370cbdc82a1c5c42ed40ff3.asciidoc9 'query' => [
H A D78c96113ae4ed0054e581b17542528a7.asciidoc9 'query' => [
H A D7b908b1189f076942de8cd497ff1fa59.asciidoc1 // query-dsl/multi-match-query.asciidoc:212
7 'query' => [
9 'query' => 'quick brown fox',
H A D7f56755fb6c42f7e6203339a6d0cb6e6.asciidoc1 // query-dsl/match-query.asciidoc:268
7 'query' => [
10 'query' => 'ny city',
H A Dad0dcbc7fc619e952c8825b8f307b7b2.asciidoc1 // query-dsl/multi-match-query.asciidoc:400
7 'query' => [
9 'query' => 'Jon',
H A Dcd247f267968aa0927bfdad56852f8f5.asciidoc8 'query' => [
H A Dcdedd5f33f7e5f7acde561e97bff61de.asciidoc1 // query-dsl/term-query.asciidoc:132
8 'query' => [
H A De0d6e02b998bdea99c9c08dcc3630c5e.asciidoc1 // query-dsl/match-query.asciidoc:18
7 'query' => [
10 'query' => 'this is a test',
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DQueryBuilder.php71 public function query() function in Elastica\\QueryBuilder
H A DReindex.php22 public const QUERY = 'query';
127 public function setQuery(AbstractQuery $query): void
129 $this->setParam(self::QUERY, $query);
119 setQuery(AbstractQuery $query) global() argument
H A DRequest.php35 * @param array $query OPTIONAL Query params
38 public function __construct(string $path, string $method = self::GET, $data = [], array $query = [], ?Connection $connection = null, string $contentType = self::DEFAULT_CONTENT_TYPE) argument
43 $this->setQuery($query);
115 * Return query params.
121 return $this->getParam('query');
127 public function setQuery(array $query = []) argument
129 return $this->setParam('query', $query);
H A DSearch.php169 * @param AbstractQuery|AbstractSuggest|array|Collapse|Query|string|Suggest|null $query
170 * @phpstan-param TCreateQueryArgs $query argument
172 public function setQuery($query): self
174 $this->_query = Query::create($query);
325 * @param AbstractQuery|AbstractSuggest|array|Collapse|Query|string|Suggest|null $query
326 * @phpstan-param TCreateQueryArgs $query
335 public function search($query = '', $options = null, string $method = Request::POST): ResultSet
337 $this->setOptionsAndQuery($options, $query);
339 $query = $this->getQuery();
349 $data = $query
331 search($query = '', $options = null, string $method = Request POST) global() argument
359 count($query = '', bool $fullResult = false, string $method = Request POST) global() argument
386 setOptionsAndQuery($options = null, $query = '') global() argument
[all...]
H A DSnapshot.php206 * @param array $query query string parameters
214 public function request($path, $method = Request::GET, $data = [], array $query = [])
216 return $this->_client->request('_snapshot/'.$path, $method, $data, $query);
180 request($path, $method = Request GET, $data = [], array $query = []) global() argument
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/
H A DSqlNamespace.php118 * $params['body'] = (array) Use the `query` element to start a query. Use the `cursor` element to continue a query. (Required)
124 public function query(array $params = []) function in Elasticsearch\\Namespaces\\SqlNamespace
138 * $params['body'] = (array) Specify the query in the `query` element. (Required)
/plugin/elasticsearch/vendor/ruflin/elastica/src/Rescore/
H A DQuery.php19 * @param AbstractQuery|array|BaseQuery|string|null $query
20 * @phpstan-param TCreateQueryArgsMatching $query
22 public function __construct($query = null) argument
24 $this->setParam('query', []);
25 $this->setRescoreQuery($query);
44 if (isset($array['query']['rescore_query']['query'])) {
45 $array['query']['rescore_query'] = $array['query']['rescore_query']['query'];
[all...]
/plugin/elasticsearch/vendor/ruflin/elastica/src/Transport/
H A DGuzzle.php187 $query = $request->getQuery();
189 if (!empty($query)) {
191 $this->sanityzeQueryStringBool($query)

12345678910>>...39