public function getFullTextQuery($containerConfiguration, $queryText)
    {
        $spellingType = $this->getSpellingType($containerConfiguration, $queryText);
        $query        = $this->createFullTextQuery($containerConfiguration, $queryText, $spellingType);
        $filterQuery  = $this->queryBuilder->createFilterQuery($containerConfiguration, $containerConfiguration->getFilters());

        return $this->queryFactory->create(QueryInterface::TYPE_FILTER, ['filter' => $filterQuery, 'query' => $query]);
    }
public function getFullTextQuery($containerConfiguration, $queryText)
    {
        $spellingType = $this->getSpellingType($containerConfiguration, $queryText);
        $query        = $this->createFullTextQuery($containerConfiguration, $queryText, $spellingType);
        $filterQuery  = $this->queryBuilder->createFilterQuery($containerConfiguration, $containerConfiguration->getFilters());

        return $this->queryFactory->create(QueryInterface::TYPE_FILTER, ['filter' => $filterQuery, 'query' => $query]);
    }
public function getFullTextQuery ( $ containerConfiguration , $ queryText ) { $ spellingType = $ this -> getSpellingType ( $ containerConfiguration , $ queryText ) ; $ query = $ this -> createFullTextQuery ( $ containerConfiguration , $ queryText , $ spellingType ) ; $ filterQuery = $ this -> queryBuilder -> createFilterQuery ( $ containerConfiguration , $ containerConfiguration -> getFilters ( ) ) ; return $ this -> queryFactory -> create ( QueryInterface :: TYPE_FILTER , [ 'filter' => $ filterQuery , 'query' => $ query ] ) ; }
Retrieve Fulltext search Query for a given query Text

@param ContainerConfigurationInterface $containerConfiguration Search request container configuration.
@param string                          $queryText              The Query Text

@return \Smile\ElasticsuiteCore\Search\Request\QueryInterface
Retrieve Fulltext search Query for a given query Text