60.2. Built-in Operator Classes

The core LightDB distribution includes the GIN operator classes shown in Table 60.1. (Some of the optional modules described in Appendix F provide additional GIN operator classes.)

Table 60.1. Built-in GIN Operator Classes

NameIndexed Data TypeIndexable Operators
array_opsanyarray && <@ = @>
jsonb_opsjsonb ? ?& ?| @> @? @@
jsonb_path_opsjsonb @> @? @@
tsvector_opstsvector @@ @@@

Of the two operator classes for type jsonb, jsonb_ops is the default. jsonb_path_ops supports fewer operators but offers better performance for those operators. See Section 9.14.4 for details.