Author: thomasm
Date: Thu Nov 23 13:03:07 2017
New Revision: 1816152
URL: http://svn.apache.org/viewvc?rev=1816152&view=rev
Log:
OAK-5324: Enable property index reindexing via oak-run
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/index-management.md
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/index-management.md
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/index-management.md?rev=1816152&r1=1816151&r2=1816152&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/index-management.md
(original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/index-management.md
Thu Nov 23 13:03:07 2017
@@ -32,11 +32,11 @@ While developing scripts, it is typicall
To start the interactive mode,
with the branch-less commit option, and MongoDB, use:
- java -jar oak-run-*.jar index --disableBranches --script - \
+ java -jar oak-run-*.jar json-index --disableBranches --script - \
mongodb://localhost:27017/oak
This will open the repository and allow to write and read from the repository.
-An example script creates a node "test", and then re-indexes it:
+An example script creates an index "test", and then re-indexes it:
{"addNode": "/oak:index/test", "node": {
"jcr:primaryType": "oak:QueryIndexDefinition",
@@ -115,7 +115,7 @@ and then switches it back to async mode.
Such scripts are typically stored as a text file (here `reindex-counter.txt`),
and executed as follows:
- java -jar oak-run-1.6-SNAPSHOT.jar index --disableBranches \
+ java -jar oak-run-1.6-SNAPSHOT.jar json-index --disableBranches \
--script reindex-counter.txt
mongodb://localhost:27017/oak