Browse Source

Zend_Search_Lucene: Update documentation. Matched terms limitation. [ZF-6075]

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15261 44c647ce-9c0f-0410-b52a-842ac1e357ba
alexander 16 years ago
parent
commit
b68e29a5de

+ 17 - 0
documentation/manual/en/module_specs/Zend_Search_Lucene-QueryLanguage.xml

@@ -205,6 +205,23 @@ roam~0.8
         </para>
     </sect2>
 
+    <sect2 id="zend.search.lucene.query-language.matched-terms-limitations">
+        <title>Matched terms limitation.</title>
+
+        <para>
+            Wildcard, range and fuzzy search queries may match too many terms. It may cause incredible search performance downgrade.
+        </para>
+
+        <para>
+            So Zend_Search_Lucene sets a limit of matching terms per query (subquery). This limit can be retrieved and set using
+            <code>Zend_Search_Lucene::getTermsPerQueryLimit()</code>/<code>Zend_Search_Lucene::setTermsPerQueryLimit($limit)</code>
+            methods. 
+        </para>
+        <para>
+            Default matched terms per query limit is 1024.
+        </para>
+    </sect2>
+
     <sect2 id="zend.search.lucene.query-language.proximity-search">
         <title>Proximity Searches</title>