Bug 1733572 - [Doc bug] The value of nsIndexAttribute is incorrectly double quoted
Summary: [Doc bug] The value of nsIndexAttribute is incorrectly double quoted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: Documentation
Version: 10.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Marc Muehlfeld
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-26 14:58 UTC by Ming Davies
Modified: 2019-11-08 10:36 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-08 10:36:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ming Davies 2019-07-26 14:58:07 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/configuration_command_and_file_reference/core_server_configuration_reference#cn-index


Section Number and Name: 
3.1.16.6. cn=index

Describe the issue: 
The section gives the following example:
dn: cn=example presence index,cn=index,cn=tasks,cn=config
objectclass: top
objectclass: extensibleObject
cn: example presence index
nsInstance: userRoot
nsIndexAttribute: "cn:pres" <<<<<<<<<<<<<


The value of the nsIndexAttribute should NOT have double quote.


Suggestions for improvement: 
Please remove the double quote from the example. It should be:
dn: cn=example presence index,cn=index,cn=tasks,cn=config
objectclass: top
objectclass: extensibleObject
cn: example presence index
nsInstance: userRoot
nsIndexAttribute: cn:pres

Additional information: 
 Here is a quick test:

WITHOUT double quote, i.e. nsIndexAttribute: description:eq,pres,sub
[26/Jul/2019:15:29:30.416293558 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexing attribute: description
[26/Jul/2019:15:29:30.557475636 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 1000 entries (9%).
[26/Jul/2019:15:29:30.608253200 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 2000 entries (19%).
[26/Jul/2019:15:29:30.659590718 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 3000 entries (29%).
[26/Jul/2019:15:29:30.710559947 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 4000 entries (39%).
[26/Jul/2019:15:29:30.785256472 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 5000 entries (49%).
[26/Jul/2019:15:29:30.903509449 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 6000 entries (59%).
[26/Jul/2019:15:29:30.994960251 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 7000 entries (69%).
[26/Jul/2019:15:29:31.079376809 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 8000 entries (79%).
[26/Jul/2019:15:29:31.128905073 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 9000 entries (89%).
[26/Jul/2019:15:29:31.183266460 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 10000 entries (99%).
[26/Jul/2019:15:29:31.185761737 +0100] - INFO - ldbm_back_ldbm2index - testDB: Finished indexing.



WITH double quote, i.e. nsIndexAttribute: "description:eq,pres,sub"
[26/Jul/2019:15:41:32.635528075 +0100] - ERR - attr_index_config - from db2index(): line 0: unknown index type "sub"" (ignored) in entry ((null)), valid index types are "pres", "eq", "approx", or "sub"
[26/Jul/2019:15:41:32.641209579 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexing attribute: "description
[26/Jul/2019:15:41:32.676400348 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 1000 entries (9%).
[26/Jul/2019:15:41:32.705944761 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 2000 entries (19%).
[26/Jul/2019:15:41:32.736467067 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 3000 entries (29%).
[26/Jul/2019:15:41:32.766389327 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 4000 entries (39%).
[26/Jul/2019:15:41:32.802536808 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 5000 entries (49%).
[26/Jul/2019:15:41:32.869456418 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 6000 entries (59%).
[26/Jul/2019:15:41:32.929277369 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 7000 entries (69%).
[26/Jul/2019:15:41:32.982635913 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 8000 entries (79%).
[26/Jul/2019:15:41:33.036464158 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 9000 entries (89%).
[26/Jul/2019:15:41:33.078361921 +0100] - INFO - ldbm_back_ldbm2index - testDB: Indexed 10000 entries (99%).
[26/Jul/2019:15:41:33.081436081 +0100] - INFO - ldbm_back_ldbm2index - testDB: Finished indexing.

Comment 2 Marc Muehlfeld 2019-11-08 10:36:30 UTC
The content is now available on the Customer Portal:
https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/


Note You need to log in before you can comment on or make changes to this bug.