From ea00bad238fa032f05a31f3ebffeba777bfac3f9 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Fri, 15 Jul 2011 07:24:44 +0000
Subject: [PATCH] Continue commands in <screen> with just "\n " rather than " \\\n> " to make copy/pasting and updating easier.
---
opendj3/src/main/docbkx/admin-guide/chap-indexing.xml | 31 +++++++++++++++----------------
1 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml b/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml
index 9279529..556e3fa 100644
--- a/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml
+++ b/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml
@@ -96,8 +96,7 @@
<para>The following example shows a search that specifies ranges.</para>
- <screen>$ ldapsearch -b dc=example,dc=com \
-> "(&(uidNumber>=1120)(roomNumber>=4500))" uid
+ <screen>$ ldapsearch -b dc=example,dc=com "(&(uidNumber>=1120)(roomNumber>=4500))" uid
dn: uid=charvey,ou=People,dc=example,dc=com
uid: charvey
@@ -186,9 +185,9 @@
<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>
@@ -197,9 +196,9 @@
<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>
@@ -235,8 +234,8 @@
<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>
@@ -283,12 +282,12 @@
<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
-Rebuild Index task 20110607160349596 scheduled to start Jun 7, 2011 4:03:49 PM</screen>
+ <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>
</section>
--
Gitblit v1.10.0