buildQueryFromKeywords example

if (empty($keywords)) {
            return null;
        }

        $tables = $this->getSearchTables();

        if (empty($tables)) {
            return null;
        }

        $query = $this->buildQueryFromKeywords($keywords$tables);

        $this->addToleranceCondition($query);

        $query->select(
            [
                'a.id as product_id',
                '(' . $this->getRelevanceSelection() . ') as ranking',
            ]
        );

        $enableAndSearchLogic = $this->config->get('enableAndSearchLogic', false);
        
Home | Imprint | This part of the site doesn't use cookies.