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 2014/10/30 14:24:20 UTC
svn commit: r1635492 - in /jackrabbit/site/live/oak/docs: construct.html
query.html
Author: thomasm
Date: Thu Oct 30 13:24:20 2014
New Revision: 1635492
URL: http://svn.apache.org/r1635492
Log:
OAK-936: Site checkin for project Oak Documentation-1.1-SNAPSHOT
Modified:
jackrabbit/site/live/oak/docs/construct.html
jackrabbit/site/live/oak/docs/query.html
Modified: jackrabbit/site/live/oak/docs/construct.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/construct.html?rev=1635492&r1=1635491&r2=1635492&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/construct.html (original)
+++ jackrabbit/site/live/oak/docs/construct.html Thu Oct 30 13:24:20 2014
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 2014-10-29
+ | Generated by Apache Maven Doxia at 2014-10-30
| 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="20141029" />
+ <meta name="Date-Revision-yyyymmdd" content="20141030" />
<meta http-equiv="Content-Language" content="en" />
<title>Jackrabbit Oak - Repository Construction</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -185,7 +185,7 @@
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2014-10-29</li>
+ <li id="publishDate">Last Published: 2014-10-30</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li>
@@ -442,7 +442,7 @@
setMongoDB(db).getNodeStore();
Repository repo = new Jcr(new Oak(ns)).createRepository();
</pre></div>
-<p>To login to the repository and do some work. The default username/password combination is admin/admin:</p>
+<p>To login to the repository and do some work (using the default username/password combination), use:</p>
<div class="source">
<pre> Session session = repo.login(
@@ -459,7 +459,7 @@
}
session.save();
</pre></div>
-<p>To logout and close the backend store:</p>
+<p>To logout and close the backend store, use:</p>
<div class="source">
<pre> session.logout();
Modified: jackrabbit/site/live/oak/docs/query.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/query.html?rev=1635492&r1=1635491&r2=1635492&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query.html (original)
+++ jackrabbit/site/live/oak/docs/query.html Thu Oct 30 13:24:20 2014
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 2014-10-29
+ | Generated by Apache Maven Doxia at 2014-10-30
| 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="20141029" />
+ <meta name="Date-Revision-yyyymmdd" content="20141030" />
<meta http-equiv="Content-Language" content="en" />
<title>Jackrabbit Oak - The Query Engine</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -185,7 +185,7 @@
<ul class="breadcrumb">
- <li id="publishDate">Last Published: 2014-10-29</li>
+ <li id="publishDate">Last Published: 2014-10-30</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.1-SNAPSHOT</li>
@@ -705,7 +705,8 @@ SELECT * FROM [nt:base] WHERE [jcr:uuid]
.setProperty("reindex", true);
}
</pre></div>
-<p><b>Note</b> The Oak Lucene index will only index <i>Strings</i> and <i>Binaries</i> by default. If you need to add another data type, you need to add it to the <i>includePropertyTypes</i> setting, and don’t forget to set the <i>reindex</i> flag to true.</p></div>
+<p><b>Note</b> The Oak Lucene index will only index <i>Strings</i> and <i>Binaries</i> by default. If you need to add another data type, you need to add it to the <i>includePropertyTypes</i> setting, and don’t forget to set the <i>reindex</i> flag to true.</p>
+<p>To store the Lucene index in the file system, in the Lucene index definition node, set the property “persistence” to “file”, and set the property “path” to the directory where the index should be stored. Then start reindexing by setting “reindex” to “true” (a boolean).</p></div>
<div class="section">
<h3>The Solr Index<a name="The_Solr_Index"></a></h3>
<p>The Solr index is mainly meant for full-text search (the ‘contains’ type of queries):</p>