Skip to content

Commit ce50109

Browse files
committed
TASK: Some cleanup
1 parent be43718 commit ce50109

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

Classes/Command/NodeIndexCommandController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ public function indexNodeCommand(string $identifier, string $workspace = null, s
215215
* @return void
216216
* @throws StopCommandException
217217
* @throws \Flowpack\ElasticSearch\ContentRepositoryAdaptor\Exception
218+
* @throws ConfigurationException
218219
*/
219220
public function buildCommand(int $limit = null, bool $update = false, string $workspace = null, string $postfix = null): void
220221
{

Classes/Eel/ElasticSearchQueryBuilder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ public function fieldBasedAggregation(string $name, string $field, string $type
429429
*
430430
* Example Usage to create a terms aggregation for a property color:
431431
*
432-
* aggregationDefinition = Neos.Fusion:RawArray {
433-
* terms = Neos.Fusion:RawArray {
432+
* aggregationDefinition = Neos.Fusion:DataStructure {
433+
* terms {
434434
* field = "color"
435435
* }
436436
* }
@@ -562,7 +562,7 @@ public function getFrom(): int
562562
* @param NodeInterface $node
563563
* @return array the Elasticsearch hit for the node as array, or NULL if it does not exist.
564564
*/
565-
public function getFullElasticSearchHitForNode(NodeInterface $node): array
565+
public function getFullElasticSearchHitForNode(NodeInterface $node): ?array
566566
{
567567
return $this->elasticSearchHitsIndexedByNodeFromLastRequest[$node->getIdentifier()] ?? null;
568568
}
@@ -669,7 +669,7 @@ public function count()
669669
* Match the searchword against the fulltext index
670670
*
671671
* @param string $searchWord
672-
* @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
673673
* @return QueryBuilderInterface
674674
* @api
675675
*/

0 commit comments

Comments
 (0)