Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added parameters to createLuceneQuery() method description

  • Loading branch information...
commit a162ea1da700ad0f176ece3ae5b1999cf5c29e87 1 parent 6445f61
Jan Pieper authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  en/reference/lucene-queries.rst
6  en/reference/lucene-queries.rst
Source Rendered
@@ -36,14 +36,14 @@ You can use the design-doc API of Doctrine, for example:
36 36
 You can use the CouchDB Client to create the design document for this lucene view.
37 37
 
38 38
 When you have created a CouchDB Lucene view you can query it with Doctrine using
39  
-the ``DocumentManager#createLuceneQuery`` method. A lucene query instance extends
40  
-``AbstractQuery`` like the Doctrine CouchDB Map-Reduce queries.
  39
+the ``DocumentManager#createLuceneQuery($designDocName, $viewName)`` method. A lucene
  40
+query instance extends ``AbstractQuery`` like the Doctrine CouchDB Map-Reduce queries.
41 41
 
42 42
 An example showing all the functionalities of a lucene query looks like:
43 43
 
44 44
 .. code-block:: php
45 45
 
46  
-    $query = $dm->createLuceneQuery("designName", "viewName");
  46
+    $query = $dm->createLuceneQuery("designDocName", "viewName");
47 47
     $result = $query->setQuery("+bar -foo")
48 48
           ->setSkip(20)
49 49
           ->setLimit(100)

0 notes on commit a162ea1

Please sign in to comment.
Something went wrong with that request. Please try again.