createLuceneQuery() публичный Метод

Create a CouchDB-Lucene Query.
public createLuceneQuery ( string $designDocName, string $viewName ) : ODMLuceneQuery
$designDocName string
$viewName string
Результат Doctrine\ODM\CouchDB\View\ODMLuceneQuery
 /**
  * @param string $designDocumentName
  * @param string $constraint
  * @param string $type
  * @return \Doctrine\CouchDB\View\AbstractQuery
  */
 public function createQuery($designDocumentName = 'doctrine_repositories', $constraint = 'equal_constraint', $type = NULL)
 {
     switch ($type) {
         case 'lucene':
             return $this->documentManager->createLuceneQuery($designDocumentName, $constraint);
         case 'native':
             return $this->documentManager->createNativeQuery($designDocumentName, $constraint);
         default:
             return $this->documentManager->createQuery($designDocumentName, $constraint);
     }
 }