src/Graviton/DocumentBundle/Listener/RqlSearchNodeListener.php
private function getSearchMode()
    {
        $this->solrQuery->setClassName($this->className);
        if ($this->solrQuery->isConfigured()) {
            return self::SEARCHMODE_SOLR;
        }

        return self::SEARCHMODE_MONGO;
    }
private function getSearchMode()
    {
        $this->solrQuery->setClassName($this->className);
        if ($this->solrQuery->isConfigured()) {
            return self::SEARCHMODE_SOLR;
        }

        return self::SEARCHMODE_MONGO;
    }
private function getSearchMode ( ) { $ this -> solrQuery -> setClassName ( $ this -> className ) ; if ( $ this -> solrQuery -> isConfigured ( ) ) { return self :: SEARCHMODE_SOLR ; } return self :: SEARCHMODE_MONGO ; }
returns which search backend to use

@return string search mode constant
returns which search backend to use