You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by sa...@apache.org on 2015/02/25 10:35:11 UTC
svn commit: r1662191 -
/jena/site/trunk/content/documentation/query/text-query.mdtext
Author: sallen
Date: Wed Feb 25 09:35:11 2015
New Revision: 1662191
URL: http://svn.apache.org/r1662191
Log:
Update documentation for jena-text to describe the new query analyzer functionality
Modified:
jena/site/trunk/content/documentation/query/text-query.mdtext
Modified: jena/site/trunk/content/documentation/query/text-query.mdtext
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/query/text-query.mdtext?rev=1662191&r1=1662190&r2=1662191&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/query/text-query.mdtext (original)
+++ jena/site/trunk/content/documentation/query/text-query.mdtext Wed Feb 25 09:35:11 2015
@@ -270,6 +270,19 @@ for details of what these analyzers do.
In addition, Jena provides `LowerCaseKeywordAnalyzer`,
which is a case-insensitive version of `KeywordAnalyzer`.
+New in Jena 2.13.0 is the optional ability to specify an analyzer to be used for the
+query string itself. It will find terms in the query text. If not set, then the
+analyzer used for the document will be used. The query analyzer is specified on
+the `TextIndexLucene` resource:
+
+ <#indexLucene> a text:TextIndexLucene ;
+ text:directory <file:Lucene> ;
+ text:entityMap <#entMap> ;
+ text:queryAnalyzer [
+ a text:KeywordAnalyzer
+ ]
+ .
+
### Configuration by Code
A text dataset can also be constructed in code as might be done for a