From a37053aee4fdafae38054a8c3d02cac335b6bbc6 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Wed, 05 Oct 2011 14:33:42 +0000
Subject: [PATCH] http://marginnotes2.wordpress.com/2011/10/05/javascript-to-manage-wide-lines/
---
opendj3/src/main/docbkx/admin-guide/chap-indexing.xml | 59 ++++++++++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 46 insertions(+), 13 deletions(-)
diff --git a/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml b/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml
index 3e5cff5..29f5544 100644
--- a/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml
+++ b/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml
@@ -222,9 +222,16 @@
<para>The following example creates a new substring index for
<literal>description</literal>.</para>
- <screen>$ dsconfig -p 4444 -h `hostname` -D "cn=Directory Manager" -w password
- create-local-db-index --backend-name userRoot --index-name description
- --set index-type:substring -n</screen>
+ <screen>$ dsconfig
+ -p 4444
+ -h `hostname`
+ -D "cn=Directory Manager"
+ -w password
+ create-local-db-index
+ --backend-name userRoot
+ --index-name description
+ --set index-type:substring
+ -n</screen>
</example>
<example xml:id="approx-index-example">
@@ -237,9 +244,16 @@
<para>The following example configures and approximate index for
<literal>cn</literal> (common name).</para>
- <screen>$ dsconfig -p 4444 -h `hostname` -D "cn=Directory Manager" -w password
- set-local-db-index-prop --backend-name userRoot --index-name cn
- --set index-type:approximate -n</screen>
+ <screen>$ dsconfig
+ -p 4444
+ -h `hostname`
+ -D "cn=Directory Manager"
+ -w password
+ set-local-db-index-prop
+ --backend-name userRoot
+ --index-name cn
+ --set index-type:approximate
+ -n</screen>
</example>
</section>
@@ -283,8 +297,14 @@
<para>The following example rebuilds the <literal>cn</literal> index
immediately with the server online.</para>
- <screen>$ rebuild-index -p 4444 -h `hostname` -D "cn=Directory Manager" -w password
- -b dc=example,dc=com -i cn -t 0
+ <screen>$ rebuild-index
+ -p 4444
+ -h `hostname`
+ -D "cn=Directory Manager"
+ -w password
+ -b dc=example,dc=com
+ -i cn
+ -t 0
Rebuild Index task 20110607171639867 scheduled to start Jun 7, 2011 5:16:39 PM</screen>
</example>
</section>
@@ -335,11 +355,24 @@
<literal>objectClass</literal> index, and then rebuilds the index for the
configuration change to take effect.</para>
- <screen>$ dsconfig -p 4444 -h `hostname` -D "cn=Directory Manager" -w password
- set-local-db-index-prop --backend-name userRoot --index-name objectClass
- --set index-entry-limit:5000 -n
-$ rebuild-index -p 4444 -h `hostname` -D "cn=Directory Manager" -w password
- -b dc=example,dc=com -i objectclass -t 0
+ <screen>$ dsconfig
+ -p 4444
+ -h `hostname`
+ -D "cn=Directory Manager"
+ -w password
+ set-local-db-index-prop
+ --backend-name userRoot
+ --index-name objectClass
+ --set index-entry-limit:5000
+ -n
+$ rebuild-index
+ -p 4444
+ -h `hostname`
+ -D "cn=Directory Manager"
+ -w password
+ -b dc=example,dc=com
+ -i objectclass
+ -t 0
Rebuild Index task 20110607160349596 scheduled to start Jun 7, 2011 4:03:49 PM</screen>
</example>
</section>
--
Gitblit v1.10.0