private function queryTokens()
    {
        $tokens = $this->getTokens();

        $queryNorm = $this->getQueryNorm($tokens);
        $results = array();
        foreach ($tokens as $token) {
            $results[$token] = $this->getResultsForToken($token, $queryNorm);
        }
        return $results;
    }
private function queryTokens()
    {
        $tokens = $this->getTokens();

        $queryNorm = $this->getQueryNorm($tokens);
        $results = array();
        foreach ($tokens as $token) {
            $results[$token] = $this->getResultsForToken($token, $queryNorm);
        }
        return $results;
    }
private function queryTokens ( ) { $ tokens = $ this -> getTokens ( ) ; $ queryNorm = $ this -> getQueryNorm ( $ tokens ) ; $ results = array ( ) ; foreach ( $ tokens as $ token ) { $ results [ $ token ] = $ this -> getResultsForToken ( $ token , $ queryNorm ) ; } return $ results ; }
Queries each token present in the Tokenizer
and returns SearchResult objects for the found
documents
@return array
@throws \Exception
Queries each token present in the Tokenizer and returns SearchResult objects for the found documents