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

Commit 8be7aa0

Browse files
author
Liudmila Mantrova
committed
DOC: typo and style fixes for knn docs
1 parent 7c3939e commit 8be7aa0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/src/sgml/indices.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ are index columns of the multicolumn GiST index.
14931493
You can run <acronym>k-NN</acronym> search for all built-in and
14941494
custom data types that support the concept of distance. In database
14951495
queries, k-NN search can provide performance benefits for
1496-
various use cases: georgraphic information systems (<acronym>GIS</acronym>),
1496+
various use cases: geographic information systems (<acronym>GIS</acronym>),
14971497
classification problems (majority voting), clusterization,
14981498
looking for similar objects or nearest events, detecting
14991499
duplications and typos, trigram matching, multimedia search, and more.
@@ -1520,9 +1520,9 @@ are index columns of the multicolumn GiST index.
15201520
the tuple entry is used. In the tree nodes, leaf nodes are stored before the
15211521
inner nodes in the list, so tuple entries are processed first. Each time
15221522
a result is returned from the queue, it is guaranteed to be the closest
1523-
one to the target point. Thus, there is no need to scan all nodes.
1524-
Once the required k entries are extracted from the queue,
1525-
search can stop.
1523+
one to the target point among the remaining entries. Thus, there is no
1524+
need to scan all nodes. Once the required k entries are extracted from
1525+
the queue, search can stop.
15261526
</para>
15271527
</listitem>
15281528

doc/src/sgml/spgist.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@
303303
</note>
304304

305305
<para>
306-
An index operator class for <acronym>SP-GiST</acronym> must provide one
307-
optional and five mandatory user-defined methods. All five mandatory
306+
An index operator class for <acronym>SP-GiST</acronym> must provide
307+
five mandatory user-defined methods and can provide one optional method. All five mandatory
308308
methods follow the convention of accepting two <type>internal</> arguments,
309309
the first of which is a pointer to a C struct containing input values for
310310
the support method, while the second argument is a pointer to a C struct

0 commit comments

Comments
 (0)