jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1804418 - /jackrabbit/site/live/oak/docs/query/oak-run-indexing.html
Date Tue, 08 Aug 2017 13:10:16 GMT
Author: chetanm
Date: Tue Aug  8 13:10:16 2017
New Revision: 1804418

URL: http://svn.apache.org/viewvc?rev=1804418&view=rev
Log: (empty)

Modified:
    jackrabbit/site/live/oak/docs/query/oak-run-indexing.html

Modified: jackrabbit/site/live/oak/docs/query/oak-run-indexing.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/query/oak-run-indexing.html?rev=1804418&r1=1804417&r2=1804418&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query/oak-run-indexing.html (original)
+++ jackrabbit/site/live/oak/docs/query/oak-run-indexing.html Tue Aug  8 13:10:16 2017
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.7.4 at 2017-07-25 
+ | Generated by Apache Maven Doxia Site Renderer 1.7.4 at 2017-08-08 
  | Rendered using Apache Maven Fluido Skin 1.6
 -->
 <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="20170725" />
+    <meta name="Date-Revision-yyyymmdd" content="20170808" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak &#x2013; <a name="oak-run-indexing"></a>
Oak Run Indexing</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.6.min.css" />
@@ -131,7 +131,7 @@
 
       <div id="breadcrumbs">
         <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2017-07-25<span class="divider">|</span>
+        <li id="publishDate">Last Published: 2017-08-08<span class="divider">|</span>
 </li>
           <li id="projectVersion">Version: 1.8-SNAPSHOT</li>
         </ul>
@@ -440,7 +440,7 @@
 <p>Index tooling support updating and adding new index definitions to existing setups.
This can be done by passing in path of a json file which contains index definitions</p>
 
 <div class="source">
-<div class="source"><pre class="prettyprint">java -jar oak-run*.jar index index
--reindex --index-paths=/oak:index/newAssetIndex \
+<div class="source"><pre class="prettyprint">java -jar oak-run*.jar index --reindex
--index-paths=/oak:index/newAssetIndex \
 --index-definitions-file=index-definitions.json \
 --fds-path=/path/to/datastore /path/to/segmentstore  
 </pre></div></div>
@@ -477,10 +477,10 @@
   }
 }
 </pre></div></div>
-<p>Some points to note about this json file * Each key of top level object refers to
the index path * The value of each such key refers to complete index definition * If the index
path is not present in existing repository then it would result in a new index being created
* In case of new index it must be ensured that parent path structure must already exist in
repository.  So if a new index is being created at <tt>/content/en/oak:index/contentIndex</tt>
then path upto <tt>/content/en/oak:index</tt>  should already exist in repository</p>
+<p>Some points to note about this json file * Each key of top level object refers to
the index path * The value of each such key refers to complete index definition * If the index
path is not present in existing repository then it would result in a new index being created
* In case of new index it must be ensured that parent path structure must already exist in
repository.  So if a new index is being created at <tt>/content/en/oak:index/contentIndex</tt>
then path upto <tt>/content/en/oak:index</tt>  should already exist in repository
* If this option is used with online indexing then do ensure that oak-run version matches
with the Oak version  used by target repository</p>
 <p>You can also use the json file generated from <a class="externalLink" href="http://oakutils.appspot.com/generate/index">Oakutils</a>.
It needs to be modified to confirm to above structure i.e. enclose the whole definition under
the intended index path key.</p>
 <p>In general the index definitions does not need any special encoding of values as
Index definitions in Oak use only String, Long and Double types mostly. However if the index
refers to binary config like Tika config then the binary data would need to encoded. Refer
to next section for more details.</p>
-<p>This option is supported in both online and out-of-band indexing.</p>
+<p>This option is supported in both online and out-of-band indexing. </p>
 <p>For more details refer to <a class="externalLink" href="https://issues.apache.org/jira/browse/OAK-6471">OAK-6471</a></p></div>
 <div class="section">
 <h3><a name="JSON_File_Format"></a><a name="json-file-format"></a>
JSON File Format</h3>



Mime
View raw message