jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From catholi...@apache.org
Subject svn commit: r1717774 - /jackrabbit/site/live/oak/docs/query/lucene.html
Date Thu, 03 Dec 2015 14:35:02 GMT
Author: catholicon
Date: Thu Dec  3 14:35:02 2015
New Revision: 1717774

URL: http://svn.apache.org/viewvc?rev=1717774&view=rev
Log:
OAK-3352: Publish lucene.md to site

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=1717774&r1=1717773&r2=1717774&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query/lucene.html (original)
+++ jackrabbit/site/live/oak/docs/query/lucene.html Thu Dec  3 14:35:02 2015
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2015-11-26
+ | Generated by Apache Maven Doxia at 2015-12-03
  | 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="20151126" />
+    <meta name="Date-Revision-yyyymmdd" content="20151203" />
     <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" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2015-11-26</li>
+                  <li id="publishDate">Last Published: 2015-12-03</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
1.4-SNAPSHOT</li>
                       
                 
@@ -1284,7 +1284,6 @@ org.apache.jackrabbit.oak.run.Main tika
           - analyzed = true
           - useInSuggest = true
 </pre></div>
-<p><tt>@since Oak 1.3.11</tt> each suggestion would be returned per row.</p>
 <p><tt>@since Oak 1.3.12</tt> the index Analyzer can be used to perform
a have more fine grained suggestions, e.g. single words (whereas default suggest configuration
returns entire property values, see [OAK-3407]: <a class="externalLink" href="https://issues.apache.org/jira/browse/OAK-3407)">https://issues.apache.org/jira/browse/OAK-3407)</a>.
Analyzed suggestions can be enabled by setting &#x201c;suggestAnalyzed&#x201d; property
to true, e.g.:</p>
 
 <div class="source">
@@ -1318,7 +1317,12 @@ org.apache.jackrabbit.oak.run.Main tika
           - propertyIndex = true
           - analyzed = true
           - useInSpellcheck = true
-</pre></div></div></div>
+</pre></div></div>
+<div class="section">
+<h4>Score Explanation<a name="Score_Explanation"></a></h4>
+<p><tt>@since Oak 1.3.12</tt></p>
+<p>Lucene supports <a class="externalLink" href="https://lucene.apache.org/core/4_6_0/core/org/apache/lucene/search/IndexSearcher.html#explain%28org.apache.lucene.search.Query,%20int%29">explanation
of scores</a> which can be selected in a query using a virtual column <tt>oak:scoreExplanation</tt>.
e.g. <tt>select [oak:scoreExplanation], * from [nt:base] where foo='bar'</tt></p>
+<p><i>Note that showing explanation score is expensive. So, this feature should
be used for debug purposes only</i>.</p></div></div>
 <div class="section">
 <h3>Design Considerations<a name="Design_Considerations"></a></h3>
 <p>Lucene index provides quite a few features to meet various query requirements. While
defining the index definition do consider the following aspects</p>



Mime
View raw message