lib/Doctrine/ODM/MongoDB/Query/Query.php
public function isIndexed()
    {
        $fields = $this->getFieldsInQuery();
        foreach ($fields as $field) {
            if ( ! $this->collection->isFieldIndexed($field)) {
                return false;
            }
        }
        return true;
    }
public function isIndexed()
    {
        $fields = $this->getFieldsInQuery();
        foreach ($fields as $field) {
            if ( ! $this->collection->isFieldIndexed($field)) {
                return false;
            }
        }
        return true;
    }
public function isIndexed ( ) { $ fields = $ this -> getFieldsInQuery ( ) ; foreach ( $ fields as $ field ) { if ( ! $ this -> collection -> isFieldIndexed ( $ field ) ) { return false ; } } return true ; }
Check if this query is indexed.

@return bool
Check if this query is indexed .