Skip to content

Commit 6a9475b

Browse files
committed
[TASK] improve documentation on queryFilterMultiple
1 parent fc6ec57 commit 6a9475b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Eel/ElasticSearchQueryBuilder.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,18 @@ public function appendAtPath($path, array $data) {
339339
/**
340340
* Add multiple filters to query.filtered.filter
341341
*
342+
* Example Usage::
343+
*
344+
* searchFilter = TYPO3.TypoScript:RawArray {
345+
* author = 'Max'
346+
* tags = TYPO3.TypoScript:RawArray {
347+
* 0 = 'a'
348+
* 1 = 'b'
349+
* }
350+
* }
351+
*
352+
* searchQuery = ${Search.queryFilterMultiple(this.searchFilter)}
353+
*
342354
* @param array $data An associative array of keys as variable names and values as variable values
343355
* @param string $clauseType one of must, should, must_not
344356
* @return ElasticSearchQueryBuilder

0 commit comments

Comments
 (0)