You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ca...@apache.org on 2016/01/07 02:01:52 UTC

svn commit: r1723444 - /jackrabbit/site/live/oak/docs/query/lucene.html

Author: catholicon
Date: Thu Jan  7 01:01:51 2016
New Revision: 1723444

URL: http://svn.apache.org/viewvc?rev=1723444&view=rev
Log:
OAK-301: Oak docu

Publishing changes to lucene.html wrt r1723442.

Modified:
    jackrabbit/site/live/oak/docs/query/lucene.html

Modified: jackrabbit/site/live/oak/docs/query/lucene.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/query/lucene.html?rev=1723444&r1=1723443&r2=1723444&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query/lucene.html (original)
+++ jackrabbit/site/live/oak/docs/query/lucene.html Thu Jan  7 01:01:51 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2015-12-21
+ | Generated by Apache Maven Doxia at 2016-01-07
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20151221" />
+    <meta name="Date-Revision-yyyymmdd" content="20160107" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Lucene Index</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -210,7 +210,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2015-12-21</li>
+                  <li id="publishDate">Last Published: 2016-01-07</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.4-SNAPSHOT</li>
                       
                 
@@ -965,6 +965,9 @@
                     + stop1.txt (nt:file)
                     + stop2.txt (nt:file)
                 + PorterStem
+                + Synonym
+                    - synonyms = &quot;synonym.txt&quot;
+                    + synonym.txt (nt:file)
 </pre></div>
 <p>Points to note</p>
 
@@ -987,6 +990,8 @@
     
 <li>If the factory requires to load a file e.g. stop words from some file then  file content can be provided via creating child <tt>nt:file</tt> node of the  filename</li>
   </ul></li>
+  
+<li>The analyzer-chain processes text from nodes as well text passed in query. So,  do take care that any mapping configuration (e.g. synonym mappings) factor in  the chain of analyzers.  E.g a common mistake for synonym mapping would be to have <tt>domain =&gt; Range</tt> while  there&#x2019;s a lower case filter configured as well (see the example above). For such  a setup an indexed value <tt>domain</tt> would actually get indexed as <tt>Range</tt> (mapped  value doesn&#x2019;t have lower case filter below it) but a query for <tt>Range</tt> would actually  query for <tt>range</tt> (due to lower case filter) and won&#x2019;t give the result (as might be  expected). An easy work-around for this example could be to have lower case mappings  i.e. just use <tt>domain =&gt; range</tt>.</li>
 </ol>
 <p><a name="codec"></a></p></div></div>
 <div class="section">
@@ -1663,7 +1668,7 @@ WHERE
 
     <footer>
             <div class="container-fluid">
-              <div class="row span12">Copyright &copy;                    2012-2015
+              <div class="row span12">Copyright &copy;                    2012-2016
                         <a href="http://www.apache.org/">The Apache Software Foundation</a>.
             All Rights Reserved.