Skip to content

Commit d759a79

Browse files
JakovKnezoviccpspanja
authored andcommitted
NGSTACK-985 add additional parameters to fulltext criterion
1 parent 67e8367 commit d759a79

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

lib/API/Values/Content/Query/Criterion/FullText.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,22 @@ class FullText extends Criterion implements FulltextSpellcheck
6868
*/
6969
public array $metaFieldsBoost = [];
7070

71+
72+
/**
73+
* Additional parameters for the search engine.
74+
*
75+
* This can be used to pass additional parameters to the search engine
76+
77+
* ```php
78+
* [
79+
* 'mm' => '1<3 3<75% 7<4',
80+
* ]
81+
* ```
82+
*
83+
* @var array<string, mixed>
84+
*/
85+
public array $additionalParameters = [];
86+
7187
/**
7288
* @param array<string, mixed> $properties
7389
*/

0 commit comments

Comments
 (0)