private function getSearchQueryId()
    {
        $queryId = null;

        if ($this->searchContext->getCurrentSearchQuery()) {
            $queryId = $this->searchContext->getCurrentSearchQuery()->getId();
        }

        return $queryId;
    }
private function getSearchQueryId()
    {
        $queryId = null;

        if ($this->searchContext->getCurrentSearchQuery()) {
            $queryId = $this->searchContext->getCurrentSearchQuery()->getId();
        }

        return $queryId;
    }
private function getSearchQueryId ( ) { $ queryId = null ; if ( $ this -> searchContext -> getCurrentSearchQuery ( ) ) { $ queryId = $ this -> searchContext -> getCurrentSearchQuery ( ) -> getId ( ) ; } return $ queryId ; }
Returns search query id.

@return NULL|integer
Returns search query id .