You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by th...@apache.org on 2017/02/23 10:12:37 UTC

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

Author: thomasm
Date: Thu Feb 23 10:12:37 2017
New Revision: 1784103

URL: http://svn.apache.org/viewvc?rev=1784103&view=rev
Log:
OAK-936: Site checkin for project Oak Documentation-1.8-SNAPSHOT

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

Modified: jackrabbit/site/live/oak/docs/query/query.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/query/query.html?rev=1784103&r1=1784102&r2=1784103&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query/query.html (original)
+++ jackrabbit/site/live/oak/docs/query/query.html Thu Feb 23 10:12:37 2017
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2017-01-31
+ | Generated by Apache Maven Doxia at 2017-02-23
  | 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="20170131" />
+    <meta name="Date-Revision-yyyymmdd" content="20170223" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Oak Query</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,8 +216,8 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2017-01-31</li>
-                  <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
+                  <li id="publishDate">Last Published: 2017-02-23</li>
+                  <li class="divider">|</li> <li id="projectVersion">Version: 1.8-SNAPSHOT</li>
                       
                 
                     
@@ -535,7 +535,10 @@
 <li><a href="./solr.html">Solr</a></li>
   
 <li><a href="./property-index.html">Property</a></li>
-</ul></div>
+</ul>
+<div class="section">
+<h4>Reindexing<a name="Reindexing"></a></h4>
+<p>Existing indexes need to be re-indexed if the definition is changed in such a way that the index is incorrect (for example adding properties to the index). Reindexing does not resolve other problems, such that queries not returning data. For such cases, it is <i>not</i> recommended to reindex (also because this can be very slow and use a lot of temporary disk space). If queries don&#x2019;t return the right data, then possibly the index is <a class="externalLink" href="https://issues.apache.org/jira/browse/OAK-5159">not yet up-to-date</a>, or the query is incorrect, or included/excluded path settings are wrong (for Lucene indexes). Instead of reindexing, it is suggested to first check the log file, modify the query so it uses a different index or traversal and run the query again. One case were reindexing can help is if the query engine picks a very slow index for some queries because the counter index <a class="externalLink" href="https://issues.apache.org/jira/browse/OAK-4065">
 got out of sync after adding and removing lots of nodes many times (fixed in recent version)</a>. For this case, it is recommended to verify the contents of the counter index first, and upgrade Oak before reindexing.</p></div></div>
 <div class="section">
 <h3>Customisations<a name="Customisations"></a></h3>