protected function shouldHideResultsFromInitialSearch(SearchRequest $searchRequest)
    {
        return ($this->typoScriptConfiguration->getSearchInitializeWithEmptyQuery() ||
            $this->typoScriptConfiguration->getSearchInitializeWithQuery()) &&
            !$this->typoScriptConfiguration->getSearchShowResultsOfInitialEmptyQuery() &&
            !$this->typoScriptConfiguration->getSearchShowResultsOfInitialQuery() &&
            $searchRequest->getRawUserQueryIsNull();
    }
protected function shouldHideResultsFromInitialSearch(SearchRequest $searchRequest)
    {
        return ($this->typoScriptConfiguration->getSearchInitializeWithEmptyQuery() ||
            $this->typoScriptConfiguration->getSearchInitializeWithQuery()) &&
            !$this->typoScriptConfiguration->getSearchShowResultsOfInitialEmptyQuery() &&
            !$this->typoScriptConfiguration->getSearchShowResultsOfInitialQuery() &&
            $searchRequest->getRawUserQueryIsNull();
    }
protected function shouldHideResultsFromInitialSearch ( SearchRequest $ searchRequest ) { return ( $ this -> typoScriptConfiguration -> getSearchInitializeWithEmptyQuery ( ) || $ this -> typoScriptConfiguration -> getSearchInitializeWithQuery ( ) ) && ! $ this -> typoScriptConfiguration -> getSearchShowResultsOfInitialEmptyQuery ( ) && ! $ this -> typoScriptConfiguration -> getSearchShowResultsOfInitialQuery ( ) && $ searchRequest -> getRawUserQueryIsNull ( ) ; }
Checks it the results should be hidden in the response.

@param SearchRequest $searchRequest
@return bool
Checks it the results should be hidden in the response .