gin/tsvector_ops (class)
GIN operator class for tsvector; member of tsvector_ops.
当前阅读 PG 18·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- Object kind
- Operator class
- Index AM
- GIN
- Input type
- tsvector
- Stored key type
- text
- Default class
- yes
- aliases
- tsvector_ops, gin/tsvector_ops
- classes
- map[default:t family:tsvector_ops family_slug:family-gin-tsvector_ops input_type:tsvector key_type:text method:gin name:tsvector_ops slug:class-gin-tsvector_ops source_oid:]
- signature
- gin/tsvector_ops
- source oid
- 未知
版本定义 PG 18
GIN operator class for tsvector; member of tsvector_ops.
Family operator strategies
| Operator overload | Strategy | Purpose | Ordering family | Membership scope | Source description |
|---|---|---|---|---|---|
| @@(tsvector,tsquery) | 1 | search | Family member | text search match | |
| @@@(tsvector,tsquery) | 2 | search | Family member | deprecated, use @@ instead |
Family support functions
| Support number | Left type | Right type | Function signature | Result type |
|---|---|---|---|---|
| 1 | tsvector | tsvector | gin_cmp_tslexeme(text,text) | int4 |
| 2 | tsvector | tsvector | gin_extract_tsvector(tsvector,internal,internal) | internal |
| 3 | tsvector | tsvector | gin_extract_tsquery(tsvector,internal,int2,internal,internal,internal,internal) | internal |
| 4 | tsvector | tsvector | gin_tsquery_consistent(internal,int2,tsvector,int4,internal,internal,internal,internal) | bool |
| 5 | tsvector | tsvector | gin_cmp_prefix(text,text,int2,internal) | int4 |
| 6 | tsvector | tsvector | gin_tsquery_triconsistent(internal,int2,tsvector,int4,internal,internal,internal) | char |
Classes in this family
| Class | Input type | Key type | Default |
|---|---|---|---|
| tsvector_ops | tsvector | text | yes |
比较版本
完整来源事实
class
{"default":"t","family":"tsvector_ops","input_type":"tsvector","key_type":"text","method":"gin","name":"tsvector_ops"}operators
map[description:text search match family:tsvector_ops family_slug:family-gin-tsvector_ops left_type:tsvector method:gin operator:@@(tsvector,tsquery) operator_slug:op-4040-tsvector-tsquery purpose:search result_type:bool right_type:tsquery sort_family: sort_family_slug: strategy:1], map[description:deprecated, use @@ instead family:tsvector_ops family_slug:family-gin-tsvector_ops left_type:tsvector method:gin operator:@@@(tsvector,tsquery) operator_slug:op-404040-tsvector-tsquery purpose:search result_type:bool right_type:tsquery sort_family: sort_family_slug: strategy:2]
support functions
map[family:tsvector_ops family_slug:family-gin-tsvector_ops function:gin_cmp_tslexeme(text,text) left_type:tsvector method:gin number:1 result_type:int4 right_type:tsvector], map[family:tsvector_ops family_slug:family-gin-tsvector_ops function:gin_extract_tsvector(tsvector,internal,internal) left_type:tsvector method:gin number:2 result_type:internal right_type:tsvector], map[family:tsvector_ops family_slug:family-gin-tsvector_ops function:gin_extract_tsquery(tsvector,internal,int2,internal,internal,internal,internal) left_type:tsvector method:gin number:3 result_type:internal right_type:tsvector], map[family:tsvector_ops family_slug:family-gin-tsvector_ops function:gin_tsquery_consistent(internal,int2,tsvector,int4,internal,internal,internal,internal) left_type:tsvector method:gin number:4 result_type:bool right_type:tsvector], map[family:tsvector_ops family_slug:family-gin-tsvector_ops function:gin_cmp_prefix(text,text,int2,internal) left_type:tsvector method:gin number:5 result_type:int4 right_type:tsvector], map[family:tsvector_ops family_slug:family-gin-tsvector_ops function:gin_tsquery_triconsistent(internal,int2,tsvector,int4,internal,internal,internal) left_type:tsvector method:gin number:6 result_type:char right_type:tsvector]
来源引用
- Matching PostgreSQL source archive
- PostgreSQL 18 English manual: indexes-opclass.html
- PostgreSQL 18 English manual: catalog-pg-opclass.html
- PostgreSQL 18 English manual: catalog-pg-amop.html
- PostgreSQL 18 English manual: catalog-pg-amproc.html
- 固定 PostgreSQL 源码归档
定义来源
center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f