sapi conditiongroup AND instead of OR
This commit is contained in:
parent
57d042e5d8
commit
4d05961269
|
@ -51,7 +51,7 @@ class Base extends ControllerBase {
|
||||||
// - " edismax " => ???
|
// - " edismax " => ???
|
||||||
$parse_mode = \Drupal::service('plugin.manager.search_api.parse_mode')
|
$parse_mode = \Drupal::service('plugin.manager.search_api.parse_mode')
|
||||||
->createInstance('direct');
|
->createInstance('direct');
|
||||||
$parse_mode->setConjunction('AND');
|
$parse_mode->setConjunction('OR');
|
||||||
$this->query->setParseMode($parse_mode);
|
$this->query->setParseMode($parse_mode);
|
||||||
|
|
||||||
// Set fulltext search keywords and fields.
|
// Set fulltext search keywords and fields.
|
||||||
|
|
Loading…
Reference in New Issue