You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by bu...@apache.org on 2016/05/20 13:50:27 UTC

svn commit: r988738 - in /websites/staging/jena/trunk/content: ./ documentation/query/text-query.html

Author: buildbot
Date: Fri May 20 13:50:26 2016
New Revision: 988738

Log:
Staging update by buildbot for jena

Modified:
    websites/staging/jena/trunk/content/   (props changed)
    websites/staging/jena/trunk/content/documentation/query/text-query.html

Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri May 20 13:50:26 2016
@@ -1 +1 @@
-1743690
+1744741

Modified: websites/staging/jena/trunk/content/documentation/query/text-query.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/text-query.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/text-query.html Fri May 20 13:50:26 2016
@@ -479,11 +479,15 @@ the <code>TextIndexLucene</code> resourc
 
 <h4 id="alternative-query-parsers">Alternative Query Parsers<a class="headerlink" href="#alternative-query-parsers" title="Permanent link">&para;</a></h4>
 <p>New in Jena 3.1.0.</p>
-<p>It is possible to select another query parser (currently only
-AnalyzingQueryParser is supported) instead of the default QueryParser. The
-main difference between these query parsers is that AnalyzingQueryParser
-performs analysis also for wildcard queries. This is useful in combination
-with accent-insensitive wildcard queries. The query parser is specified on
+<p>It is possible to select a query parser other than the default QueryParser.</p>
+<p>The available <code>QueryParser</code> implementations are:</p>
+<ul>
+<li><code>AnalyzingQueryParser</code>: Performs analysis for wildcard queries . This is useful in combination
+with accent-insensitive wildcard queries.</li>
+<li><code>ComplexPhraseQueryParser</code>: Permits complex phrase query syntax. Eg: "(john jon jonathan~) peters*".
+This is useful for performing wildcard or fuzzy queries on individual terms in a phrase.</li>
+</ul>
+<p>The query parser is specified on
 the <code>TextIndexLucene</code> resource:</p>
 <div class="codehilite"><pre><span class="o">&lt;</span>#<span class="n">indexLucene</span><span class="o">&gt;</span> <span class="n">a</span> <span class="n">text</span><span class="p">:</span><span class="n">TextIndexLucene</span> <span class="p">;</span>
     <span class="n">text</span><span class="p">:</span><span class="n">directory</span> <span class="o">&lt;</span><span class="n">file</span><span class="p">:</span><span class="n">Lucene</span><span class="o">&gt;</span> <span class="p">;</span>