Switch back to dismax query (tesed shown same result)
This commit is contained in:
parent
d90cc3477e
commit
678695681d
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ class AdvancedSearchQuery {
|
||||||
// enable dismax search query option
|
// enable dismax search query option
|
||||||
/** @var Solarium\QueryType\Select\Query\Component\DisMax $dismax */
|
/** @var Solarium\QueryType\Select\Query\Component\DisMax $dismax */
|
||||||
$dismax = $solarium_query->getDisMax();
|
$dismax = $solarium_query->getDisMax();
|
||||||
$dismax->setQueryParser('edismax');
|
$dismax->setQueryParser('dismax');
|
||||||
$query_fields = [];
|
$query_fields = [];
|
||||||
foreach ($field_mapping as $key => $field) {
|
foreach ($field_mapping as $key => $field) {
|
||||||
foreach ($field as $f => $item) {
|
foreach ($field as $f => $item) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue