Skip to content

Commit

Permalink
Neue Option um Query ohne subQuery zu bauen: noSubQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
cradeck committed Jul 26, 2023
1 parent e1e6697 commit 33d881b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/Service/SolrServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,10 @@ protected function queryComponentsForQueryParameters(array $queryParameters): ar
$magicFieldPrefix .= '{!edismax}';
}

if ($fieldInfo['noSubQuery']) {
$magicFieldPrefix = '';
}

if (2 === (int) $fieldInfo['noescape']) {
$chars = explode(',', $fieldInfo['escapechar']);
foreach ($queryTerms as $key => $term) {
Expand Down

0 comments on commit 33d881b

Please sign in to comment.