Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f71fb9e

Browse files
committed
Add a little to index operator class discussion.
1 parent 1f7ba1e commit f71fb9e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/src/sgml/indices.sgml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,11 @@
110110
integers. In practice the default operator class for the field's
111111
datatype is usually sufficient. The main point of having operator classes
112112
is that for some datatypes, there could be more than one meaningful
113-
ordering. For an index on such a datatype, we could select which
114-
ordering we wanted by selecting the proper operator class. There
115-
are also some operator classes with special purposes:
113+
ordering. For example, we might want to sort a complex-number datatype
114+
either by absolute value or by real part. We could do this by defining
115+
two operator classes for the datatype and then selecting the proper
116+
class when making an index. There are also some operator classes with
117+
special purposes:
116118

117119
<itemizedlist>
118120
<listitem>

0 commit comments

Comments
 (0)