mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Minor formatting tweaks
This commit is contained in:
parent
d875ecb315
commit
7fc2627431
@ -16,15 +16,14 @@ numeric or alphanumeric sort methods. Additionally, a "weighted" sort can
|
||||
be specified, which uses a numeric weight prepended to the attribute values.
|
||||
The weighted sort is always performed in ascending order, but may be combined
|
||||
with the other methods for values that all have equal weights. The weight
|
||||
is specified by prepending an integer weight
|
||||
.B {<weight>}
|
||||
is specified by prepending an integer weight {<\fIweight\fP>}
|
||||
in front of each value of the attribute for which weighted sorting is
|
||||
desired. This weighting factor is stripped off and never returned in
|
||||
search results.
|
||||
|
||||
.SH CONFIGURATION
|
||||
These
|
||||
.B slapd.conf
|
||||
.I slapd.conf
|
||||
options apply to the Value Sorting overlay.
|
||||
They should appear after the
|
||||
.B overlay
|
||||
@ -32,13 +31,13 @@ directive and before any subsequent
|
||||
.B database
|
||||
directive.
|
||||
.TP
|
||||
.B valsort-attr <attribute> <baseDN> (<sort-method> | weighted [<sort-method>])
|
||||
valsort-attr <\fIattribute\fP> <\fIbaseDN\fP> (<\fIsort-method\fP> | weighted [<\fIsort-method\fP>])
|
||||
Configure a sorting method for the specified
|
||||
.B attribute
|
||||
.I attribute
|
||||
in the subtree rooted at
|
||||
.BR baseDN .
|
||||
.IR baseDN .
|
||||
The
|
||||
.B sort-method
|
||||
.I sort-method
|
||||
may be one of
|
||||
.BR alpha-ascend ,
|
||||
.BR alpha-descend ,
|
||||
@ -47,10 +46,15 @@ or
|
||||
.BR numeric-descend .
|
||||
If the special
|
||||
.B weighted
|
||||
method is specified, a secondary sort-method may also be specified. It is an
|
||||
error to specify an alphanumeric sort-method for an attribute with Integer
|
||||
or NumericString syntax, and it is an error to specify a numeric sort for
|
||||
an attribute with a syntax other than Integer or NumericString.
|
||||
method is specified, a secondary
|
||||
.I sort-method
|
||||
may also be specified. It is an
|
||||
error to specify an alphanumeric
|
||||
.I sort-method
|
||||
for an attribute with Integer
|
||||
or NumericString syntax, and it is an error to specify a numeric
|
||||
.I sort-method
|
||||
for an attribute with a syntax other than Integer or NumericString.
|
||||
.SH EXAMPLES
|
||||
.LP
|
||||
.nf
|
||||
@ -63,8 +67,8 @@ an attribute with a syntax other than Integer or NumericString.
|
||||
|
||||
.SH FILES
|
||||
.TP
|
||||
ETCDIR/slapd.conf
|
||||
default slapd configuration file
|
||||
\fIETCDIR/slapd.conf\fP
|
||||
default \fBslapd\fP configuration file
|
||||
.SH SEE ALSO
|
||||
.BR slapd.conf (5).
|
||||
.SH ACKNOWLEDGEMENTS
|
||||
|
Loading…
Reference in New Issue
Block a user