View | Details | Raw Unified | Return to bug 22545
Collapse All | Expand All

(-)a/C4/Matcher.pm (-2 / +1 lines)
Lines 653-659 sub get_matches { Link Here
653
653
654
            #NOTE: The QueryParser can't handle the CCL syntax of 'qualifier','qualifier', so fallback to non-QueryParser.
654
            #NOTE: The QueryParser can't handle the CCL syntax of 'qualifier','qualifier', so fallback to non-QueryParser.
655
            #NOTE: You can see this in C4::Search::SimpleSearch() as well in a different way.
655
            #NOTE: You can see this in C4::Search::SimpleSearch() as well in a different way.
656
            if ($QParser && $matchpoint->{'index'} !~ m/\w,\w/) {
656
            if (($QParser && $matchpoint->{'index'} !~ m/\w,\w/) || C4::Context->preference('SearchEngine') eq 'Elasticsearch') {
657
                $query = join( " || ",
657
                $query = join( " || ",
658
                    map { "$matchpoint->{'index'}:$_" } @source_keys );
658
                    map { "$matchpoint->{'index'}:$_" } @source_keys );
659
            }
659
            }
660
- 

Return to bug 22545