You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->logger->error(sprintf('Request failed with %s', $message), LogEnvironment::fromMethodName(__METHOD__));
600
601
$this->result['nodes'] = [];
601
602
}
602
603
@@ -668,7 +669,7 @@ public function count()
668
669
* Match the searchword against the fulltext index
669
670
*
670
671
* @param string $searchWord
671
-
* @param array $options Options to configure the query_string, see https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl-query-string-query.html
672
+
* @param array $options Options to configure the query_string, see https://www.elastic.co/guide/en/elasticsearch/reference/7.6/query-dsl-query-string-query.html
672
673
* @return QueryBuilderInterface
673
674
* @api
674
675
*/
@@ -681,6 +682,22 @@ public function fulltext(string $searchWord, array $options = []): QueryBuilderI
* `exclude('propertyName', value)` -- excludes results by property - the negation of exactMatch.
412
-
* `greaterThan('propertyName', value, [clauseType])` -- range filter with property values greater than the given value
413
-
* `greaterThanOrEqual('propertyName', value, [clauseType])` -- range filter with property values greater than or equal to the given value
414
-
* `lessThan('propertyName', value, [clauseType])` -- range filter with property values less than the given value
415
-
* `lessThanOrEqual('propertyName', value, [clauseType])` -- range filter with property values less than or equal to the given value
416
-
* `sortAsc('propertyName')` and `sortDesc('propertyName')` -- can also be used multiple times, e.g. `sortAsc('tag').sortDesc(`date')`
417
-
will first sort by tag ascending, and then by date descending.
418
-
* `limit(5)` -- only return five results. If not specified, the default limit by Elasticsearch applies (which is at 10 by default)
419
-
* `from(5)` -- return the results starting from the 6th one
420
-
* `fulltext('searchWord', options)` -- do a query_string query on the Fulltext index using the searchword and additional [options](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl-query-string-query.html) to the query_string
411
+
| Query Operator | Description |
412
+
|----------------|-------------|
413
+
|`nodeType('Your.Node:Type')` |Filters on the given NodeType|
|`exclude('propertyName', value)` |Excludes results by property - the negation of exactMatch.
416
+
|`greaterThan('propertyName', value, [clauseType])` |Range filter with property values greater than the given value|
417
+
|`greaterThanOrEqual('propertyName', value, [clauseType])`|Range filter with property values greater than or equal to the given value|
418
+
|`lessThan('propertyName', value, [clauseType])` |Range filter with property values less than the given value|
419
+
|`lessThanOrEqual('propertyName', value, [clauseType])`|Range filter with property values less than or equal to the given value|
420
+
|`sortAsc('propertyName')` / `sortDesc('propertyName')`|Can also be used multiple times, e.g. `sortAsc('tag').sortDesc(`date')` will first sort by tag ascending, and then by date descending.|
421
+
|`limit(5)` |Only return five results. If not specified, the default limit by Elasticsearch applies (which is at 10 by default)|
422
+
|`from(5)` |Return the results starting from the 6th one|
423
+
|`prefix('propertyName', 'prefix')` |Does a prefix on the given field with the given prefix|
424
+
|`fulltext('searchWord', options)` |Does a query_string query on the Fulltext index using the searchword and additional [options](https://www.elastic.co/guide/en/elasticsearch/reference/7.6/query-dsl-query-string-query.html) to the query_string|
0 commit comments