Redrock Postgres Search Chinese
Version: 9.4 / 9.5 / 9.6 / 10 / 11 / 12 / 13 / 14 / 15 / 16

63.2. Built-in Operator Classes

The core PostgreSQL distribution includes the SP-GiST operator classes shown in Table 63.1.

Table 63.1. Built-in SP-GiST Operator Classes

NameIndexed Data TypeIndexable Operators
kd_point_opspoint << <@ <^ >> >^ ~=
quad_point_opspoint << <@ <^ >> >^ ~=
range_opsany range type && &< &> -|- << <@ = >> @>
box_opsbox << &< && &> >> ~= @> <@ &<| <<| |>> |&>
text_opstext < <= = > >= ~<=~ ~<~ ~>=~ ~>~
inet_opsinet, cidr && >> >>= > >= <> << <<= < <= =

Of the two operator classes for type point, quad_point_ops is the default. kd_point_ops supports the same operators but uses a different index data structure which may offer better performance in some applications.