diff --git a/doc/src/sgml/gin.sgml b/doc/src/sgml/gin.sgml index 0bd759220fb..80fb4f3634c 100644 --- a/doc/src/sgml/gin.sgml +++ b/doc/src/sgml/gin.sgml @@ -197,7 +197,7 @@ function, and a ternary triConsistent function. triConsistent covers the functionality of both, so providing triConsistent alone is sufficient. However, if the boolean variant is - significantly cheaper to calculate, it can be advantegous to provide both. + significantly cheaper to calculate, it can be advantageous to provide both. If only the boolean variant is provided, some optimizations that depend on refuting index items before fetching all the keys are disabled. @@ -219,7 +219,7 @@ returned by extractQuery for this query datum. Each element of the check array is TRUE if the indexed item contains the - corresponding query key, ie, if (check[i] == TRUE) the i-th key of the + corresponding query key, i.e., if (check[i] == TRUE) the i-th key of the extractQuery result array is present in the indexed item. The original query datum is passed in case the consistent method needs to consult it,