public function useBoostQueriesFromTypoScript(): QueryBuilder
    {
        $searchConfiguration = $this->typoScriptConfiguration->getSearchConfiguration();

        if (!empty($searchConfiguration['query.']['boostQuery'])) {
            return $this->useBoostQueries($searchConfiguration['query.']['boostQuery']);
        }

        if (!empty($searchConfiguration['query.']['boostQuery.'])) {
            $boostQueries = $searchConfiguration['query.']['boostQuery.'];
            return $this->useBoostQueries(array_values($boostQueries));
        }

        return $this;
    }
public function useBoostQueriesFromTypoScript(): QueryBuilder
    {
        $searchConfiguration = $this->typoScriptConfiguration->getSearchConfiguration();

        if (!empty($searchConfiguration['query.']['boostQuery'])) {
            return $this->useBoostQueries($searchConfiguration['query.']['boostQuery']);
        }

        if (!empty($searchConfiguration['query.']['boostQuery.'])) {
            $boostQueries = $searchConfiguration['query.']['boostQuery.'];
            return $this->useBoostQueries(array_values($boostQueries));
        }

        return $this;
    }
public function useBoostQueriesFromTypoScript ( ) : QueryBuilder { $ searchConfiguration = $ this -> typoScriptConfiguration -> getSearchConfiguration ( ) ; if ( ! empty ( $ searchConfiguration [ 'query.' ] [ 'boostQuery' ] ) ) { return $ this -> useBoostQueries ( $ searchConfiguration [ 'query.' ] [ 'boostQuery' ] ) ; } if ( ! empty ( $ searchConfiguration [ 'query.' ] [ 'boostQuery.' ] ) ) { $ boostQueries = $ searchConfiguration [ 'query.' ] [ 'boostQuery.' ] ; return $ this -> useBoostQueries ( array_values ( $ boostQueries ) ) ; } return $ this ; }
Uses the configured boost queries from typoscript

@return QueryBuilder
Uses the configured boost queries from typoscript