Skip to content

Commit 54da6a4

Browse files
JakovKnezoviccpspanja
authored andcommitted
NGSTACK-985 adjust fulltext visitor to support passing additional parameters
1 parent d759a79 commit 54da6a4

File tree

1 file changed

+4
-0
lines changed
  • lib/Core/Search/Solr/Query/Content/CriterionVisitor

1 file changed

+4
-0
lines changed

lib/Core/Search/Solr/Query/Content/CriterionVisitor/FullText.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ public function visit(Criterion $criterion, ?CriterionVisitor $subVisitor = null
6363
'boost' => $boost,
6464
];
6565

66+
foreach ($criterion->additionalParameters as $name => $value) {
67+
$queryParams[$name] = $value;
68+
}
69+
6670
$queryParamsString = implode(
6771
' ',
6872
array_map(

0 commit comments

Comments
 (0)