{"kind": "opclass", "major": "18", "item": {"slug": "class-gist-box_ops", "name": "gist/box_ops (class)", "name_zh": "", "category": "GiST \u64cd\u4f5c\u7b26\u7c7b", "summary": "box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002", "aliases": ["box_ops", "gist/box_ops"], "content_hash": "9c4ebb2551ebbe815b40b9092caca50685916d9a1a5fe0402b5600530703ed6d", "versions": {"10": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=10", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=10", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=10", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=10", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=10", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=10", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=10", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=10", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=10", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=10", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=10", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=10", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e-box-box/?v=10", "text": "~(box,box)"}, "strategy": "13", "description": "\u5df2\u5f03\u7528\uff0c\u8bf7\u6539\u7528 @>", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-40-box-box/?v=10", "text": "@(box,box)"}, "strategy": "14", "description": "\u5df2\u5f03\u7528\uff0c\u8bf7\u6539\u7528 <@", "sort_family": ""}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "result_type": "box"}, {"number": "3", "function": "gist_box_compress(internal)", "left_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "4", "function": "gist_box_decompress(internal)", "left_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "9", "function": "gist_box_fetch(internal)", "left_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=10", "text": "box"}, "result_type": "\u5185\u90e8"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=10", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=10", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=10", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=10", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=10", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "10.23", "major": "10", "channel": "historical", "revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "source_sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9", "manual_fingerprint": "113b870e3ff4b52320f34750da5e740800f3f6e4ed6f2fc00a0891944d1be7c2", "catalog_fingerprint": "dd2d5fd5e17d29184db5f6625f9f0f9b9d40ae7aa34b6ccf28ddbc8684bd4992"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, {"url": "https://pg.center/docs/10/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 10 English manual: indexes-opclass.html", "sha256": "5e070d906c5b9c756625cc59969d7259b304fb3ff73ec4363e2dcbf923ad4c61", "language": "en", "original_url": "/docs/10/indexes-opclass.html"}, {"url": "https://pg.center/docs/10/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 10 English manual: catalog-pg-opclass.html", "sha256": "3be20e2a81d94f5181b1ed6dbf0b36e358fef354f628beac0e6a46b05a5db3b1", "language": "en", "original_url": "/docs/10/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/10/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 10 English manual: catalog-pg-amop.html", "sha256": "d5ce5a3be599e5506edbe3ff615674beb013720953f4979a44b6ecfd4cc24090", "language": "en", "original_url": "/docs/10/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/10/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 10 English manual: catalog-pg-amproc.html", "sha256": "5e5f2932bae4725864988e810841b0edf82d629b3ea2690ffe8b44935eb89131", "language": "en", "original_url": "/docs/10/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u786e\u5b9a\u7d22\u5f15\u9488\u5bf9\u8be5\u5217\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u5efa\u7acb\u5728\u7c7b\u578b int4 \u4e0a\u7684 B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8be5\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u9488\u5bf9\u4ee5\u4e0b\u7c7b\u578b\u7684\u503c\u7684\u6bd4\u8f83\u51fd\u6570\uff1a int4 \u3002\u5b9e\u9645\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5c31\u8db3\u591f\u4e86\u3002\u4e4b\u6240\u4ee5\u9700\u8981\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u4e8e\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\uff0c\u53ef\u80fd\u5b58\u5728\u4e0d\u6b62\u4e00\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6216\u5b9e\u90e8\u5bf9\u590d\u6570\u6570\u636e\u7c7b\u578b\u6392\u5e8f\u3002\u53ef\u4ee5\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u7c7b\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u57fa\u672c\u6392\u5e8f\u987a\u5e8f\uff08\u968f\u540e\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879\u8fdb\u884c\u8c03\u6574\uff1a COLLATE \uff0c ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~(box,box)", "strategy": "13", "left_type": "box", "right_type": "box", "description": "deprecated, use @> instead", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@(box,box)", "strategy": "14", "left_type": "box", "right_type": "box", "description": "deprecated, use <@ instead", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-40-box-box", "sort_family_slug": ""}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/10/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "f2ee5e4386a45a176aa7c61ff8d752aee0ce3aaea06553965bee526ab799f223", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/10/indexes-opclass.html", "method": "same-major semantic node", "sha256": "a63692e6035b21dab0183c026ca8b0c2ac480c3ca9833fdce2081537733252db", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/10/xfunc-c.html", "method": "same-major semantic node", "sha256": "0df98937379292051379860f0a86609d1855b9c9df04dfb53c02ec0380079453", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/10/description/0": "GiST operator class for box; member of box_ops.", "/versions/10/facts/0/label": "Object kind", "/versions/10/facts/0/value": "Operator class", "/versions/10/facts/1/label": "Index AM", "/versions/10/facts/2/label": "Input type", "/versions/10/facts/3/label": "Stored key type", "/versions/10/facts/3/value": "Same as input type (catalog zero)", "/versions/10/facts/4/label": "Default class", "/versions/10/facts/4/value": "yes", "/versions/10/tables/0/title": "Family operator strategies", "/versions/10/tables/1/title": "Family support functions", "/versions/10/tables/2/title": "Classes in this family", "/versions/10/related/0/label": "GiST Index AM", "/versions/10/related/1/label": "box_ops family", "/versions/10/related/2/label": "box data type", "/versions/10/sections/0/title": "Operator classes and families", "/versions/10/tables/0/rows/0/scope": "Class input pair", "/versions/10/tables/0/rows/1/scope": "Class input pair", "/versions/10/tables/0/rows/2/scope": "Class input pair", "/versions/10/tables/0/rows/3/scope": "Class input pair", "/versions/10/tables/0/rows/4/scope": "Class input pair", "/versions/10/tables/0/rows/5/scope": "Class input pair", "/versions/10/tables/0/rows/6/scope": "Class input pair", "/versions/10/tables/0/rows/7/scope": "Class input pair", "/versions/10/tables/0/rows/8/scope": "Class input pair", "/versions/10/tables/0/rows/9/scope": "Class input pair", "/versions/10/tables/0/rows/10/scope": "Class input pair", "/versions/10/tables/0/rows/11/scope": "Class input pair", "/versions/10/tables/0/rows/12/scope": "Class input pair", "/versions/10/tables/0/rows/13/scope": "Class input pair", "/versions/10/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/10/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/10/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/10/tables/0/rows/0/purpose": "search", "/versions/10/tables/0/rows/1/purpose": "search", "/versions/10/tables/0/rows/2/purpose": "search", "/versions/10/tables/0/rows/3/purpose": "search", "/versions/10/tables/0/rows/4/purpose": "search", "/versions/10/tables/0/rows/5/purpose": "search", "/versions/10/tables/0/rows/6/purpose": "search", "/versions/10/tables/0/rows/7/purpose": "search", "/versions/10/tables/0/rows/8/purpose": "search", "/versions/10/tables/0/rows/9/purpose": "search", "/versions/10/tables/2/rows/0/default": "yes", "/versions/10/tables/0/columns/0/label": "Operator overload", "/versions/10/tables/0/columns/1/label": "Strategy", "/versions/10/tables/0/columns/2/label": "Purpose", "/versions/10/tables/0/columns/3/label": "Ordering family", "/versions/10/tables/0/columns/4/label": "Membership scope", "/versions/10/tables/0/columns/5/label": "Source description", "/versions/10/tables/0/rows/10/purpose": "search", "/versions/10/tables/0/rows/11/purpose": "search", "/versions/10/tables/0/rows/12/purpose": "search", "/versions/10/tables/0/rows/13/purpose": "search", "/versions/10/tables/1/columns/0/label": "Support number", "/versions/10/tables/1/columns/1/label": "Left type", "/versions/10/tables/1/columns/2/label": "Right type", "/versions/10/tables/1/columns/3/label": "Function signature", "/versions/10/tables/1/columns/4/label": "Result type", "/versions/10/tables/2/columns/0/label": "Class", "/versions/10/tables/2/columns/1/label": "Input type", "/versions/10/tables/2/columns/2/label": "Key type", "/versions/10/tables/2/columns/3/label": "Default", "/versions/10/tables/2/rows/0/key_type": "Same as input type", "/versions/10/tables/0/rows/0/description": "is left of", "/versions/10/tables/0/rows/1/description": "overlaps or is left of", "/versions/10/tables/0/rows/2/description": "overlaps", "/versions/10/tables/0/rows/3/description": "overlaps or is right of", "/versions/10/tables/0/rows/4/description": "is right of", "/versions/10/tables/0/rows/5/description": "same as", "/versions/10/tables/0/rows/6/description": "contains", "/versions/10/tables/0/rows/7/description": "is contained by", "/versions/10/tables/0/rows/8/description": "overlaps or is below", "/versions/10/tables/0/rows/9/description": "is below", "/versions/10/tables/1/rows/2/result_type": "internal", "/versions/10/tables/1/rows/3/result_type": "internal", "/versions/10/tables/1/rows/4/result_type": "internal", "/versions/10/tables/1/rows/5/result_type": "internal", "/versions/10/tables/1/rows/6/result_type": "internal", "/versions/10/tables/1/rows/7/result_type": "internal", "/versions/10/tables/0/rows/10/description": "is above", "/versions/10/tables/0/rows/11/description": "overlaps or is above", "/versions/10/tables/0/rows/12/description": "deprecated, use @> instead", "/versions/10/tables/0/rows/13/description": "deprecated, use <@ instead"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "17fea520f7fc4062a1cdd6bd41ff0b743a5d8e06fb33f60d276f2a7f740bbeaf"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~(box,box)", "strategy": "13", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@(box,box)", "strategy": "14", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "3", "function": "gist_box_compress(internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "4", "function": "gist_box_decompress(internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "9", "function": "gist_box_fetch(internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}]}, "comparison_hash": "247c947467657998cd3593a4cee3a7559d986eb818bc621129be7ae4fe1d1241", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "3", "function": "gist_box_compress(internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "4", "function": "gist_box_decompress(internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "9", "function": "gist_box_fetch(internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}]}, "11": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=11", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=11", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=11", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=11", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=11", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=11", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=11", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=11", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=11", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=11", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=11", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=11", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e-box-box/?v=11", "text": "~(box,box)"}, "strategy": "13", "description": "\u5df2\u5f03\u7528\uff0c\u8bf7\u6539\u7528 @>", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-40-box-box/?v=11", "text": "@(box,box)"}, "strategy": "14", "description": "\u5df2\u5f03\u7528\uff0c\u8bf7\u6539\u7528 <@", "sort_family": ""}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=11", "text": "box"}, "result_type": "\u5185\u90e8"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=11", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=11", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=11", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=11", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=11", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "historical", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "source_sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0", "manual_fingerprint": "99c9e45d34555f000789cb4e019492e838041c1f2f31d840f3051ff9d7ed9118", "catalog_fingerprint": "4f08eb8c7ac7d09abfbb29a172148a44b8fb72026616bb55a5f8f84db7a38785"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, {"url": "https://pg.center/docs/11/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 11 English manual: indexes-opclass.html", "sha256": "234c67ab5a33096697e1851c197c79ba0e872686c7909c2696716a102253c7bd", "language": "en", "original_url": "/docs/11/indexes-opclass.html"}, {"url": "https://pg.center/docs/11/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 11 English manual: catalog-pg-opclass.html", "sha256": "e91b7d053b9aaf4afd969cd28ae512814047da83d507533d29b1694d1b334296", "language": "en", "original_url": "/docs/11/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/11/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 11 English manual: catalog-pg-amop.html", "sha256": "c17d050a6f2d093de2c343242bcc4d446b936de1d2902727d3fa3b0697b44fd3", "language": "en", "original_url": "/docs/11/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/11/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 11 English manual: catalog-pg-amproc.html", "sha256": "819e66cb86af033d3328a3602c65c861e9f2d2c519d1f42f37fdd7766e1fc31f", "language": "en", "original_url": "/docs/11/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~(box,box)", "strategy": "13", "left_type": "box", "right_type": "box", "description": "deprecated, use @> instead", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@(box,box)", "strategy": "14", "left_type": "box", "right_type": "box", "description": "deprecated, use <@ instead", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-40-box-box", "sort_family_slug": ""}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/11/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "d4e01ba05c1f00188e2353ef6816dbe175140ae359defc71e20f92fb0e69299a", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/11/indexes-opclass.html", "method": "same-major semantic node", "sha256": "89f6f02b6aadf86b19cfce09618561d39321a355dbce65ca30759d9044f1ac44", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/11/xfunc-c.html", "method": "same-major semantic node", "sha256": "338b6447b1144585971c12bdf32b24efc4b9b5a4778aff31b878afd575c1c68c", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/11/description/0": "GiST operator class for box; member of box_ops.", "/versions/11/facts/0/label": "Object kind", "/versions/11/facts/0/value": "Operator class", "/versions/11/facts/1/label": "Index AM", "/versions/11/facts/2/label": "Input type", "/versions/11/facts/3/label": "Stored key type", "/versions/11/facts/3/value": "Same as input type (catalog zero)", "/versions/11/facts/4/label": "Default class", "/versions/11/facts/4/value": "yes", "/versions/11/tables/0/title": "Family operator strategies", "/versions/11/tables/1/title": "Family support functions", "/versions/11/tables/2/title": "Classes in this family", "/versions/11/related/0/label": "GiST Index AM", "/versions/11/related/1/label": "box_ops family", "/versions/11/related/2/label": "box data type", "/versions/11/sections/0/title": "Operator classes and families", "/versions/11/tables/0/rows/0/scope": "Class input pair", "/versions/11/tables/0/rows/1/scope": "Class input pair", "/versions/11/tables/0/rows/2/scope": "Class input pair", "/versions/11/tables/0/rows/3/scope": "Class input pair", "/versions/11/tables/0/rows/4/scope": "Class input pair", "/versions/11/tables/0/rows/5/scope": "Class input pair", "/versions/11/tables/0/rows/6/scope": "Class input pair", "/versions/11/tables/0/rows/7/scope": "Class input pair", "/versions/11/tables/0/rows/8/scope": "Class input pair", "/versions/11/tables/0/rows/9/scope": "Class input pair", "/versions/11/tables/0/rows/10/scope": "Class input pair", "/versions/11/tables/0/rows/11/scope": "Class input pair", "/versions/11/tables/0/rows/12/scope": "Class input pair", "/versions/11/tables/0/rows/13/scope": "Class input pair", "/versions/11/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/11/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/11/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/11/tables/0/rows/0/purpose": "search", "/versions/11/tables/0/rows/1/purpose": "search", "/versions/11/tables/0/rows/2/purpose": "search", "/versions/11/tables/0/rows/3/purpose": "search", "/versions/11/tables/0/rows/4/purpose": "search", "/versions/11/tables/0/rows/5/purpose": "search", "/versions/11/tables/0/rows/6/purpose": "search", "/versions/11/tables/0/rows/7/purpose": "search", "/versions/11/tables/0/rows/8/purpose": "search", "/versions/11/tables/0/rows/9/purpose": "search", "/versions/11/tables/2/rows/0/default": "yes", "/versions/11/tables/0/columns/0/label": "Operator overload", "/versions/11/tables/0/columns/1/label": "Strategy", "/versions/11/tables/0/columns/2/label": "Purpose", "/versions/11/tables/0/columns/3/label": "Ordering family", "/versions/11/tables/0/columns/4/label": "Membership scope", "/versions/11/tables/0/columns/5/label": "Source description", "/versions/11/tables/0/rows/10/purpose": "search", "/versions/11/tables/0/rows/11/purpose": "search", "/versions/11/tables/0/rows/12/purpose": "search", "/versions/11/tables/0/rows/13/purpose": "search", "/versions/11/tables/1/columns/0/label": "Support number", "/versions/11/tables/1/columns/1/label": "Left type", "/versions/11/tables/1/columns/2/label": "Right type", "/versions/11/tables/1/columns/3/label": "Function signature", "/versions/11/tables/1/columns/4/label": "Result type", "/versions/11/tables/2/columns/0/label": "Class", "/versions/11/tables/2/columns/1/label": "Input type", "/versions/11/tables/2/columns/2/label": "Key type", "/versions/11/tables/2/columns/3/label": "Default", "/versions/11/tables/2/rows/0/key_type": "Same as input type", "/versions/11/tables/0/rows/0/description": "is left of", "/versions/11/tables/0/rows/1/description": "overlaps or is left of", "/versions/11/tables/0/rows/2/description": "overlaps", "/versions/11/tables/0/rows/3/description": "overlaps or is right of", "/versions/11/tables/0/rows/4/description": "is right of", "/versions/11/tables/0/rows/5/description": "same as", "/versions/11/tables/0/rows/6/description": "contains", "/versions/11/tables/0/rows/7/description": "is contained by", "/versions/11/tables/0/rows/8/description": "overlaps or is below", "/versions/11/tables/0/rows/9/description": "is below", "/versions/11/tables/1/rows/2/result_type": "internal", "/versions/11/tables/1/rows/3/result_type": "internal", "/versions/11/tables/1/rows/4/result_type": "internal", "/versions/11/tables/0/rows/10/description": "is above", "/versions/11/tables/0/rows/11/description": "overlaps or is above", "/versions/11/tables/0/rows/12/description": "deprecated, use @> instead", "/versions/11/tables/0/rows/13/description": "deprecated, use <@ instead"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "d99e23346d2dd5b38055b68603f43d3f5869c755fb6d95ac029782ebe3cfa96b"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~(box,box)", "strategy": "13", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@(box,box)", "strategy": "14", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}]}, "comparison_hash": "6cb0bd6c8107d042cda4d73da543110f99bbe7564964019d68d0b04eebb16171", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}]}, "12": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=12", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=12", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=12", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=12", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=12", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=12", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=12", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=12", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=12", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=12", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=12", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=12", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e-box-box/?v=12", "text": "~(box,box)"}, "strategy": "13", "description": "\u5df2\u5f03\u7528\uff0c\u8bf7\u6539\u7528 @>", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-40-box-box/?v=12", "text": "@(box,box)"}, "strategy": "14", "description": "\u5df2\u5f03\u7528\uff0c\u8bf7\u6539\u7528 <@", "sort_family": ""}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=12", "text": "box"}, "result_type": "\u5185\u90e8"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=12", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=12", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=12", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=12", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=12", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "historical", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "source_sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b", "manual_fingerprint": "535df36baec2140f211303631c0a3f64e02d2673b9d34cb050d247997c94bd1e", "catalog_fingerprint": "1f423fd3c5fb61c039f8814116ce19dedbb2804bc864599818e88cbc4f5f284a"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, {"url": "https://pg.center/docs/12/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 12 English manual: indexes-opclass.html", "sha256": "bdd742eaf65ab7addb35aa56509afe244d63775521460a046bf76f50bc0389db", "language": "en", "original_url": "/docs/12/indexes-opclass.html"}, {"url": "https://pg.center/docs/12/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 12 English manual: catalog-pg-opclass.html", "sha256": "c18988ac300a55eb6fbd32e74d3be726f55e2e26b526ed50c4c3f4f0470d8607", "language": "en", "original_url": "/docs/12/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/12/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 12 English manual: catalog-pg-amop.html", "sha256": "84b91a9d763b1fb2968cc8be226a0369d31a6acb2468eb56cfd0b8d2030d1b45", "language": "en", "original_url": "/docs/12/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/12/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 12 English manual: catalog-pg-amproc.html", "sha256": "8fecd047164ac5772bb48770067c55ab89a810d2ee1686ed316738bc0c18e330", "language": "en", "original_url": "/docs/12/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~(box,box)", "strategy": "13", "left_type": "box", "right_type": "box", "description": "deprecated, use @> instead", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@(box,box)", "strategy": "14", "left_type": "box", "right_type": "box", "description": "deprecated, use <@ instead", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-40-box-box", "sort_family_slug": ""}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/12/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "fb1485d72baa6293bbb9db509168fcb9e29aeb84d9eaa463046dffc10c6689ab", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]"]}, {"url": "/docs/12/indexes-opclass.html", "method": "same-major semantic node", "sha256": "caf2c6c72b3142db3faa12936bdc35bae99e5144454f5c7391fc02cc93ba1cb1", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/12/xfunc-c.html", "method": "same-major semantic node", "sha256": "b25a73df45087a8fdc374e82b6439c1e121ac685f86ab05f852f86fb2d32f749", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/12/description/0": "GiST operator class for box; member of box_ops.", "/versions/12/facts/0/label": "Object kind", "/versions/12/facts/0/value": "Operator class", "/versions/12/facts/1/label": "Index AM", "/versions/12/facts/2/label": "Input type", "/versions/12/facts/3/label": "Stored key type", "/versions/12/facts/3/value": "Same as input type (catalog zero)", "/versions/12/facts/4/label": "Default class", "/versions/12/facts/4/value": "yes", "/versions/12/tables/0/title": "Family operator strategies", "/versions/12/tables/1/title": "Family support functions", "/versions/12/tables/2/title": "Classes in this family", "/versions/12/related/0/label": "GiST Index AM", "/versions/12/related/1/label": "box_ops family", "/versions/12/related/2/label": "box data type", "/versions/12/sections/0/title": "Operator classes and families", "/versions/12/tables/0/rows/0/scope": "Class input pair", "/versions/12/tables/0/rows/1/scope": "Class input pair", "/versions/12/tables/0/rows/2/scope": "Class input pair", "/versions/12/tables/0/rows/3/scope": "Class input pair", "/versions/12/tables/0/rows/4/scope": "Class input pair", "/versions/12/tables/0/rows/5/scope": "Class input pair", "/versions/12/tables/0/rows/6/scope": "Class input pair", "/versions/12/tables/0/rows/7/scope": "Class input pair", "/versions/12/tables/0/rows/8/scope": "Class input pair", "/versions/12/tables/0/rows/9/scope": "Class input pair", "/versions/12/tables/0/rows/10/scope": "Class input pair", "/versions/12/tables/0/rows/11/scope": "Class input pair", "/versions/12/tables/0/rows/12/scope": "Class input pair", "/versions/12/tables/0/rows/13/scope": "Class input pair", "/versions/12/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/12/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/12/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/12/tables/0/rows/0/purpose": "search", "/versions/12/tables/0/rows/1/purpose": "search", "/versions/12/tables/0/rows/2/purpose": "search", "/versions/12/tables/0/rows/3/purpose": "search", "/versions/12/tables/0/rows/4/purpose": "search", "/versions/12/tables/0/rows/5/purpose": "search", "/versions/12/tables/0/rows/6/purpose": "search", "/versions/12/tables/0/rows/7/purpose": "search", "/versions/12/tables/0/rows/8/purpose": "search", "/versions/12/tables/0/rows/9/purpose": "search", "/versions/12/tables/2/rows/0/default": "yes", "/versions/12/tables/0/columns/0/label": "Operator overload", "/versions/12/tables/0/columns/1/label": "Strategy", "/versions/12/tables/0/columns/2/label": "Purpose", "/versions/12/tables/0/columns/3/label": "Ordering family", "/versions/12/tables/0/columns/4/label": "Membership scope", "/versions/12/tables/0/columns/5/label": "Source description", "/versions/12/tables/0/rows/10/purpose": "search", "/versions/12/tables/0/rows/11/purpose": "search", "/versions/12/tables/0/rows/12/purpose": "search", "/versions/12/tables/0/rows/13/purpose": "search", "/versions/12/tables/1/columns/0/label": "Support number", "/versions/12/tables/1/columns/1/label": "Left type", "/versions/12/tables/1/columns/2/label": "Right type", "/versions/12/tables/1/columns/3/label": "Function signature", "/versions/12/tables/1/columns/4/label": "Result type", "/versions/12/tables/2/columns/0/label": "Class", "/versions/12/tables/2/columns/1/label": "Input type", "/versions/12/tables/2/columns/2/label": "Key type", "/versions/12/tables/2/columns/3/label": "Default", "/versions/12/tables/2/rows/0/key_type": "Same as input type", "/versions/12/tables/0/rows/0/description": "is left of", "/versions/12/tables/0/rows/1/description": "overlaps or is left of", "/versions/12/tables/0/rows/2/description": "overlaps", "/versions/12/tables/0/rows/3/description": "overlaps or is right of", "/versions/12/tables/0/rows/4/description": "is right of", "/versions/12/tables/0/rows/5/description": "same as", "/versions/12/tables/0/rows/6/description": "contains", "/versions/12/tables/0/rows/7/description": "is contained by", "/versions/12/tables/0/rows/8/description": "overlaps or is below", "/versions/12/tables/0/rows/9/description": "is below", "/versions/12/tables/1/rows/2/result_type": "internal", "/versions/12/tables/1/rows/3/result_type": "internal", "/versions/12/tables/1/rows/4/result_type": "internal", "/versions/12/tables/0/rows/10/description": "is above", "/versions/12/tables/0/rows/11/description": "overlaps or is above", "/versions/12/tables/0/rows/12/description": "deprecated, use @> instead", "/versions/12/tables/0/rows/13/description": "deprecated, use <@ instead"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "2aea797763b6d8c9c09e759a687cf5feae8fca18e3ddf51b8ca706226270cdcb"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~(box,box)", "strategy": "13", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@(box,box)", "strategy": "14", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}]}, "comparison_hash": "6cb0bd6c8107d042cda4d73da543110f99bbe7564964019d68d0b04eebb16171", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}]}, "13": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=13", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=13", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=13", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=13", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=13", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=13", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=13", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=13", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=13", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=13", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=13", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=13", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e-box-box/?v=13", "text": "~(box,box)"}, "strategy": "13", "description": "\u5df2\u5f03\u7528\uff0c\u8bf7\u6539\u7528 @>", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-40-box-box/?v=13", "text": "@(box,box)"}, "strategy": "14", "description": "\u5df2\u5f03\u7528\uff0c\u8bf7\u6539\u7528 <@", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u6392\u5e8f", "operator": {"url": "/wiki/operator/op-3c2d3e-box-point/?v=13", "text": "<->(box,point)"}, "strategy": "15", "description": "\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb", "sort_family": "float_ops"}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=13", "text": "box"}, "result_type": "float8"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=13", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=13", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=13", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=13", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=13", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "historical", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "source_sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6", "manual_fingerprint": "2bbea71f4723fc9e4e58cfdb28368763f999de2800d45ade748f7c7546dfb9d3", "catalog_fingerprint": "df58d29b226fbb90326087233d7970032abdec1352373270449eeee324f84a35"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, {"url": "https://pg.center/docs/13/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 13 English manual: indexes-opclass.html", "sha256": "37723d8b80464e32b69ead59eff6160555679eb963ab37c5c3a8a6cbae1b152b", "language": "en", "original_url": "/docs/13/indexes-opclass.html"}, {"url": "https://pg.center/docs/13/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 13 English manual: catalog-pg-opclass.html", "sha256": "1e76307cdb5258558db46b22444fc26a671a7dbb4a328b62e8f93deecb9a4caa", "language": "en", "original_url": "/docs/13/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/13/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 13 English manual: catalog-pg-amop.html", "sha256": "7a8e67f8dc59c305612c6d029fc8760c092f27203d5338c6db6c6d9b8aabc561", "language": "en", "original_url": "/docs/13/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/13/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 13 English manual: catalog-pg-amproc.html", "sha256": "7304d151ac7c668be22d688c152e43989557f61455a75dc74f4660363e7ab9ef", "language": "en", "original_url": "/docs/13/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~(box,box)", "strategy": "13", "left_type": "box", "right_type": "box", "description": "deprecated, use @> instead", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@(box,box)", "strategy": "14", "left_type": "box", "right_type": "box", "description": "deprecated, use <@ instead", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "description": "distance between", "family_slug": "family-gist-box_ops", "result_type": "float8", "sort_family": "float_ops", "operator_slug": "op-3c2d3e-box-point", "sort_family_slug": "family-btree-float_ops"}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/13/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "344df36a802a949f2a1e178d6708bf07012cd0daff6368987f59cab3023d2853", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]", "#CATALOG-PG-AMOP/p[2]/em[2]"]}, {"url": "/docs/13/indexes-opclass.html", "method": "same-major semantic node", "sha256": "000af3648471325f388091b478e7d22683ce58bd59f5f9463c09b36504a22d3d", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/13/xfunc-c.html", "method": "same-major semantic node", "sha256": "095469efa3baa961b27032ae79fbe7a17909a3ff9341e854497b97168d4a1271", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/13/description/0": "GiST operator class for box; member of box_ops.", "/versions/13/facts/0/label": "Object kind", "/versions/13/facts/0/value": "Operator class", "/versions/13/facts/1/label": "Index AM", "/versions/13/facts/2/label": "Input type", "/versions/13/facts/3/label": "Stored key type", "/versions/13/facts/3/value": "Same as input type (catalog zero)", "/versions/13/facts/4/label": "Default class", "/versions/13/facts/4/value": "yes", "/versions/13/tables/0/title": "Family operator strategies", "/versions/13/tables/1/title": "Family support functions", "/versions/13/tables/2/title": "Classes in this family", "/versions/13/related/0/label": "GiST Index AM", "/versions/13/related/1/label": "box_ops family", "/versions/13/related/2/label": "box data type", "/versions/13/sections/0/title": "Operator classes and families", "/versions/13/tables/0/rows/0/scope": "Class input pair", "/versions/13/tables/0/rows/1/scope": "Class input pair", "/versions/13/tables/0/rows/2/scope": "Class input pair", "/versions/13/tables/0/rows/3/scope": "Class input pair", "/versions/13/tables/0/rows/4/scope": "Class input pair", "/versions/13/tables/0/rows/5/scope": "Class input pair", "/versions/13/tables/0/rows/6/scope": "Class input pair", "/versions/13/tables/0/rows/7/scope": "Class input pair", "/versions/13/tables/0/rows/8/scope": "Class input pair", "/versions/13/tables/0/rows/9/scope": "Class input pair", "/versions/13/tables/0/rows/10/scope": "Class input pair", "/versions/13/tables/0/rows/11/scope": "Class input pair", "/versions/13/tables/0/rows/12/scope": "Class input pair", "/versions/13/tables/0/rows/13/scope": "Class input pair", "/versions/13/tables/0/rows/14/scope": "Family member", "/versions/13/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/13/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/13/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/13/tables/0/rows/0/purpose": "search", "/versions/13/tables/0/rows/1/purpose": "search", "/versions/13/tables/0/rows/2/purpose": "search", "/versions/13/tables/0/rows/3/purpose": "search", "/versions/13/tables/0/rows/4/purpose": "search", "/versions/13/tables/0/rows/5/purpose": "search", "/versions/13/tables/0/rows/6/purpose": "search", "/versions/13/tables/0/rows/7/purpose": "search", "/versions/13/tables/0/rows/8/purpose": "search", "/versions/13/tables/0/rows/9/purpose": "search", "/versions/13/tables/2/rows/0/default": "yes", "/versions/13/tables/0/columns/0/label": "Operator overload", "/versions/13/tables/0/columns/1/label": "Strategy", "/versions/13/tables/0/columns/2/label": "Purpose", "/versions/13/tables/0/columns/3/label": "Ordering family", "/versions/13/tables/0/columns/4/label": "Membership scope", "/versions/13/tables/0/columns/5/label": "Source description", "/versions/13/tables/0/rows/10/purpose": "search", "/versions/13/tables/0/rows/11/purpose": "search", "/versions/13/tables/0/rows/12/purpose": "search", "/versions/13/tables/0/rows/13/purpose": "search", "/versions/13/tables/0/rows/14/purpose": "ordering", "/versions/13/tables/1/columns/0/label": "Support number", "/versions/13/tables/1/columns/1/label": "Left type", "/versions/13/tables/1/columns/2/label": "Right type", "/versions/13/tables/1/columns/3/label": "Function signature", "/versions/13/tables/1/columns/4/label": "Result type", "/versions/13/tables/2/columns/0/label": "Class", "/versions/13/tables/2/columns/1/label": "Input type", "/versions/13/tables/2/columns/2/label": "Key type", "/versions/13/tables/2/columns/3/label": "Default", "/versions/13/tables/2/rows/0/key_type": "Same as input type", "/versions/13/tables/0/rows/0/description": "is left of", "/versions/13/tables/0/rows/1/description": "overlaps or is left of", "/versions/13/tables/0/rows/2/description": "overlaps", "/versions/13/tables/0/rows/3/description": "overlaps or is right of", "/versions/13/tables/0/rows/4/description": "is right of", "/versions/13/tables/0/rows/5/description": "same as", "/versions/13/tables/0/rows/6/description": "contains", "/versions/13/tables/0/rows/7/description": "is contained by", "/versions/13/tables/0/rows/8/description": "overlaps or is below", "/versions/13/tables/0/rows/9/description": "is below", "/versions/13/tables/1/rows/2/result_type": "internal", "/versions/13/tables/1/rows/3/result_type": "internal", "/versions/13/tables/1/rows/4/result_type": "internal", "/versions/13/tables/0/rows/10/description": "is above", "/versions/13/tables/0/rows/11/description": "overlaps or is above", "/versions/13/tables/0/rows/12/description": "deprecated, use @> instead", "/versions/13/tables/0/rows/13/description": "deprecated, use <@ instead", "/versions/13/tables/0/rows/14/description": "distance between"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "06e557525de879de5657bb14ec8a10898808f75780fb6ef3c090651509c38155"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~(box,box)", "strategy": "13", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@(box,box)", "strategy": "14", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "sort_family": "float_ops"}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "float8"}]}, "comparison_hash": "cb8a8a4759c3f8dbbaf0c1233138e2639b3482b84df3689ae9aa52978f7a17fc", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "float8"}]}, "14": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=14", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=14", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=14", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=14", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=14", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=14", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=14", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=14", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=14", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=14", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=14", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=14", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u6392\u5e8f", "operator": {"url": "/wiki/operator/op-3c2d3e-box-point/?v=14", "text": "<->(box,point)"}, "strategy": "15", "description": "\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb", "sort_family": "float_ops"}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=14", "text": "box"}, "result_type": "float8"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=14", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=14", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=14", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=14", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=14", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "source_sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897", "manual_fingerprint": "1d055c6dc55d4defe2b6e9d0f842a47005487b21025b67e51d06721d3c122f71", "catalog_fingerprint": "9e0116f26e5ce870719efb77ef7b73e30c7928f8af27cbe87fdea32efe3811ef"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, {"url": "https://pg.center/docs/14/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 14 English manual: indexes-opclass.html", "sha256": "b7e355fb7c1e6fe473dc70d4c7e73cd3aa9a11dddd2e32ece5e8effbdb910c0b", "language": "en", "original_url": "/docs/14/indexes-opclass.html"}, {"url": "https://pg.center/docs/14/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 14 English manual: catalog-pg-opclass.html", "sha256": "5d3fff50f233fb5f05727c29139ff9b4505048755dbb88acbcf550528005f2dd", "language": "en", "original_url": "/docs/14/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/14/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 14 English manual: catalog-pg-amop.html", "sha256": "402b87d7fb1a313b096ba5349a676ae38d507e2eb98739d6ed7f0681e0b9a9a4", "language": "en", "original_url": "/docs/14/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/14/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 14 English manual: catalog-pg-amproc.html", "sha256": "5b918a7eba7592dc13a32a8fcbb7ca0a198d8f4d2b8a85b3c7befbc7705d44a1", "language": "en", "original_url": "/docs/14/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "description": "distance between", "family_slug": "family-gist-box_ops", "result_type": "float8", "sort_family": "float_ops", "operator_slug": "op-3c2d3e-box-point", "sort_family_slug": "family-btree-float_ops"}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/14/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "2b8fdc15654f6701ab77bdf068a2c3b50cadd8da3bce8f385811b4193b4952b4", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]", "#CATALOG-PG-AMOP/p[2]/em[2]"]}, {"url": "/docs/14/indexes-opclass.html", "method": "same-major semantic node", "sha256": "4cb8380e551ee45907962594be66e8173948c404caa5f227b1672e5d298bd128", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/14/xfunc-c.html", "method": "same-major semantic node", "sha256": "2fbd11bbae7ab2425c4de4cb1fc3f8b0c29c45b2e6551bb486931806474d2dfe", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "GiST operator class for box; member of box_ops.", "/versions/14/facts/0/label": "Object kind", "/versions/14/facts/0/value": "Operator class", "/versions/14/facts/1/label": "Index AM", "/versions/14/facts/2/label": "Input type", "/versions/14/facts/3/label": "Stored key type", "/versions/14/facts/3/value": "Same as input type (catalog zero)", "/versions/14/facts/4/label": "Default class", "/versions/14/facts/4/value": "yes", "/versions/14/tables/0/title": "Family operator strategies", "/versions/14/tables/1/title": "Family support functions", "/versions/14/tables/2/title": "Classes in this family", "/versions/14/related/0/label": "GiST Index AM", "/versions/14/related/1/label": "box_ops family", "/versions/14/related/2/label": "box data type", "/versions/14/sections/0/title": "Operator classes and families", "/versions/14/tables/0/rows/0/scope": "Class input pair", "/versions/14/tables/0/rows/1/scope": "Class input pair", "/versions/14/tables/0/rows/2/scope": "Class input pair", "/versions/14/tables/0/rows/3/scope": "Class input pair", "/versions/14/tables/0/rows/4/scope": "Class input pair", "/versions/14/tables/0/rows/5/scope": "Class input pair", "/versions/14/tables/0/rows/6/scope": "Class input pair", "/versions/14/tables/0/rows/7/scope": "Class input pair", "/versions/14/tables/0/rows/8/scope": "Class input pair", "/versions/14/tables/0/rows/9/scope": "Class input pair", "/versions/14/tables/0/rows/10/scope": "Class input pair", "/versions/14/tables/0/rows/11/scope": "Class input pair", "/versions/14/tables/0/rows/12/scope": "Family member", "/versions/14/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/14/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/14/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/14/tables/0/rows/0/purpose": "search", "/versions/14/tables/0/rows/1/purpose": "search", "/versions/14/tables/0/rows/2/purpose": "search", "/versions/14/tables/0/rows/3/purpose": "search", "/versions/14/tables/0/rows/4/purpose": "search", "/versions/14/tables/0/rows/5/purpose": "search", "/versions/14/tables/0/rows/6/purpose": "search", "/versions/14/tables/0/rows/7/purpose": "search", "/versions/14/tables/0/rows/8/purpose": "search", "/versions/14/tables/0/rows/9/purpose": "search", "/versions/14/tables/2/rows/0/default": "yes", "/versions/14/tables/0/columns/0/label": "Operator overload", "/versions/14/tables/0/columns/1/label": "Strategy", "/versions/14/tables/0/columns/2/label": "Purpose", "/versions/14/tables/0/columns/3/label": "Ordering family", "/versions/14/tables/0/columns/4/label": "Membership scope", "/versions/14/tables/0/columns/5/label": "Source description", "/versions/14/tables/0/rows/10/purpose": "search", "/versions/14/tables/0/rows/11/purpose": "search", "/versions/14/tables/0/rows/12/purpose": "ordering", "/versions/14/tables/1/columns/0/label": "Support number", "/versions/14/tables/1/columns/1/label": "Left type", "/versions/14/tables/1/columns/2/label": "Right type", "/versions/14/tables/1/columns/3/label": "Function signature", "/versions/14/tables/1/columns/4/label": "Result type", "/versions/14/tables/2/columns/0/label": "Class", "/versions/14/tables/2/columns/1/label": "Input type", "/versions/14/tables/2/columns/2/label": "Key type", "/versions/14/tables/2/columns/3/label": "Default", "/versions/14/tables/2/rows/0/key_type": "Same as input type", "/versions/14/tables/0/rows/0/description": "is left of", "/versions/14/tables/0/rows/1/description": "overlaps or is left of", "/versions/14/tables/0/rows/2/description": "overlaps", "/versions/14/tables/0/rows/3/description": "overlaps or is right of", "/versions/14/tables/0/rows/4/description": "is right of", "/versions/14/tables/0/rows/5/description": "same as", "/versions/14/tables/0/rows/6/description": "contains", "/versions/14/tables/0/rows/7/description": "is contained by", "/versions/14/tables/0/rows/8/description": "overlaps or is below", "/versions/14/tables/0/rows/9/description": "is below", "/versions/14/tables/1/rows/2/result_type": "internal", "/versions/14/tables/1/rows/3/result_type": "internal", "/versions/14/tables/1/rows/4/result_type": "internal", "/versions/14/tables/0/rows/10/description": "is above", "/versions/14/tables/0/rows/11/description": "overlaps or is above", "/versions/14/tables/0/rows/12/description": "distance between"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "19d8ac4b90862d28f863ae4747e478cbd92cf33eb2d0d9dfee4e3c3e9627d265"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "sort_family": "float_ops"}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "float8"}]}, "comparison_hash": "27efe54945d643aae472ba48f36a317ff63889d142ef545a93e2d80955b89ba0", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "float8"}]}, "15": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=15", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=15", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=15", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=15", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=15", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=15", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=15", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=15", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=15", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=15", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=15", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=15", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u6392\u5e8f", "operator": {"url": "/wiki/operator/op-3c2d3e-box-point/?v=15", "text": "<->(box,point)"}, "strategy": "15", "description": "\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb", "sort_family": "float_ops"}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=15", "text": "box"}, "result_type": "float8"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=15", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=15", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=15", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=15", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=15", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "source_sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89", "manual_fingerprint": "f39c61e9facb5b9404c7d6d1cf494d83af0cc46146554a7fc40724eb882d24a9", "catalog_fingerprint": "1c332a5ccec7bfdd8ca19b55a0279b5bd6cb1dd5dcc6c5587a98a491a9b566a5"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, {"url": "https://pg.center/docs/15/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 15 English manual: indexes-opclass.html", "sha256": "57685c0a60cb570754be680551a6947556a03b6ff16a4a511483bdcac143c6da", "language": "en", "original_url": "/docs/15/indexes-opclass.html"}, {"url": "https://pg.center/docs/15/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 15 English manual: catalog-pg-opclass.html", "sha256": "755f7dcb5d8201f84a8285b418477e209122f0dd4a1c0e5b1b9b293a52a3f5cb", "language": "en", "original_url": "/docs/15/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/15/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 15 English manual: catalog-pg-amop.html", "sha256": "53ced8770f19710869151ab02a9a6f0d97380981ca4bfe83752092bfb74a9e0c", "language": "en", "original_url": "/docs/15/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/15/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 15 English manual: catalog-pg-amproc.html", "sha256": "cdcce97c140ef4b73e0abc870c6a7f0d8ebda9f31d4c02b3f5444f50828d7f37", "language": "en", "original_url": "/docs/15/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "description": "distance between", "family_slug": "family-gist-box_ops", "result_type": "float8", "sort_family": "float_ops", "operator_slug": "op-3c2d3e-box-point", "sort_family_slug": "family-btree-float_ops"}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/15/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "722b907f43f8178f67214192f7587c04c86bbab3759c44150d611dead287836f", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]", "#CATALOG-PG-AMOP/p[2]/em[2]"]}, {"url": "/docs/15/indexes-opclass.html", "method": "same-major semantic node", "sha256": "99e792c28f2215316661a351044aa90cd191477d266005d4849696ce85bb89ed", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/15/xfunc-c.html", "method": "same-major semantic node", "sha256": "525a67d45851e1ac7a414aeb9e309bc6f6ccd6c93cc6c70954c06bdb0e5279bd", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "GiST operator class for box; member of box_ops.", "/versions/15/facts/0/label": "Object kind", "/versions/15/facts/0/value": "Operator class", "/versions/15/facts/1/label": "Index AM", "/versions/15/facts/2/label": "Input type", "/versions/15/facts/3/label": "Stored key type", "/versions/15/facts/3/value": "Same as input type (catalog zero)", "/versions/15/facts/4/label": "Default class", "/versions/15/facts/4/value": "yes", "/versions/15/tables/0/title": "Family operator strategies", "/versions/15/tables/1/title": "Family support functions", "/versions/15/tables/2/title": "Classes in this family", "/versions/15/related/0/label": "GiST Index AM", "/versions/15/related/1/label": "box_ops family", "/versions/15/related/2/label": "box data type", "/versions/15/sections/0/title": "Operator classes and families", "/versions/15/tables/0/rows/0/scope": "Class input pair", "/versions/15/tables/0/rows/1/scope": "Class input pair", "/versions/15/tables/0/rows/2/scope": "Class input pair", "/versions/15/tables/0/rows/3/scope": "Class input pair", "/versions/15/tables/0/rows/4/scope": "Class input pair", "/versions/15/tables/0/rows/5/scope": "Class input pair", "/versions/15/tables/0/rows/6/scope": "Class input pair", "/versions/15/tables/0/rows/7/scope": "Class input pair", "/versions/15/tables/0/rows/8/scope": "Class input pair", "/versions/15/tables/0/rows/9/scope": "Class input pair", "/versions/15/tables/0/rows/10/scope": "Class input pair", "/versions/15/tables/0/rows/11/scope": "Class input pair", "/versions/15/tables/0/rows/12/scope": "Family member", "/versions/15/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/15/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/15/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/15/tables/0/rows/0/purpose": "search", "/versions/15/tables/0/rows/1/purpose": "search", "/versions/15/tables/0/rows/2/purpose": "search", "/versions/15/tables/0/rows/3/purpose": "search", "/versions/15/tables/0/rows/4/purpose": "search", "/versions/15/tables/0/rows/5/purpose": "search", "/versions/15/tables/0/rows/6/purpose": "search", "/versions/15/tables/0/rows/7/purpose": "search", "/versions/15/tables/0/rows/8/purpose": "search", "/versions/15/tables/0/rows/9/purpose": "search", "/versions/15/tables/2/rows/0/default": "yes", "/versions/15/tables/0/columns/0/label": "Operator overload", "/versions/15/tables/0/columns/1/label": "Strategy", "/versions/15/tables/0/columns/2/label": "Purpose", "/versions/15/tables/0/columns/3/label": "Ordering family", "/versions/15/tables/0/columns/4/label": "Membership scope", "/versions/15/tables/0/columns/5/label": "Source description", "/versions/15/tables/0/rows/10/purpose": "search", "/versions/15/tables/0/rows/11/purpose": "search", "/versions/15/tables/0/rows/12/purpose": "ordering", "/versions/15/tables/1/columns/0/label": "Support number", "/versions/15/tables/1/columns/1/label": "Left type", "/versions/15/tables/1/columns/2/label": "Right type", "/versions/15/tables/1/columns/3/label": "Function signature", "/versions/15/tables/1/columns/4/label": "Result type", "/versions/15/tables/2/columns/0/label": "Class", "/versions/15/tables/2/columns/1/label": "Input type", "/versions/15/tables/2/columns/2/label": "Key type", "/versions/15/tables/2/columns/3/label": "Default", "/versions/15/tables/2/rows/0/key_type": "Same as input type", "/versions/15/tables/0/rows/0/description": "is left of", "/versions/15/tables/0/rows/1/description": "overlaps or is left of", "/versions/15/tables/0/rows/2/description": "overlaps", "/versions/15/tables/0/rows/3/description": "overlaps or is right of", "/versions/15/tables/0/rows/4/description": "is right of", "/versions/15/tables/0/rows/5/description": "same as", "/versions/15/tables/0/rows/6/description": "contains", "/versions/15/tables/0/rows/7/description": "is contained by", "/versions/15/tables/0/rows/8/description": "overlaps or is below", "/versions/15/tables/0/rows/9/description": "is below", "/versions/15/tables/1/rows/2/result_type": "internal", "/versions/15/tables/1/rows/3/result_type": "internal", "/versions/15/tables/1/rows/4/result_type": "internal", "/versions/15/tables/0/rows/10/description": "is above", "/versions/15/tables/0/rows/11/description": "overlaps or is above", "/versions/15/tables/0/rows/12/description": "distance between"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "5ae67d985b8e8c7b0b7478a1af14fd1f4cd6a164fb49797669ee9d67856279ba"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "sort_family": "float_ops"}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "float8"}]}, "comparison_hash": "27efe54945d643aae472ba48f36a317ff63889d142ef545a93e2d80955b89ba0", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "float8"}]}, "16": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=16", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=16", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=16", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=16", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=16", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=16", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=16", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=16", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=16", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=16", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=16", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=16", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u6392\u5e8f", "operator": {"url": "/wiki/operator/op-3c2d3e-box-point/?v=16", "text": "<->(box,point)"}, "strategy": "15", "description": "\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb", "sort_family": "float_ops"}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=16", "text": "box"}, "result_type": "float8"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=16", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=16", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=16", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=16", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=16", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "source_sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed", "manual_fingerprint": "846fb006e9d590387203c1c65f671240bc5c30604c4e3084cf572817aacc19d0", "catalog_fingerprint": "70797d889dd8aeed77ae81092f99ab380e1109b54b0b7ca6fbf400e0a2111a70"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, {"url": "https://pg.center/docs/16/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 16 English manual: indexes-opclass.html", "sha256": "a524c924c56d14615e7ea68aaaddd7c62abf7d153a0e291c191e0f4e962ffbae", "language": "en", "original_url": "/docs/16/indexes-opclass.html"}, {"url": "https://pg.center/docs/16/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 16 English manual: catalog-pg-opclass.html", "sha256": "f075996844e2b6da739db4c2ed35fc2b0f288cd51d3f1f04baac0daa0e608c03", "language": "en", "original_url": "/docs/16/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/16/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 16 English manual: catalog-pg-amop.html", "sha256": "f580ac4a34d5f9d567834684e0c41b7df32a952e20a2fc11a9ce0964c2df7e9a", "language": "en", "original_url": "/docs/16/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/16/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 16 English manual: catalog-pg-amproc.html", "sha256": "ce78e17af3e627c9f4a1b517d77b8eb2e071ba2e963f8b196bf9535ca98c388a", "language": "en", "original_url": "/docs/16/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "description": "distance between", "family_slug": "family-gist-box_ops", "result_type": "float8", "sort_family": "float_ops", "operator_slug": "op-3c2d3e-box-point", "sort_family_slug": "family-btree-float_ops"}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/16/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "704b1a6817cd451566b69b08f4210b2fb192934810322e22cb9a2980f7d93af4", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]", "#CATALOG-PG-AMOP/p[2]/em[2]"]}, {"url": "/docs/16/indexes-opclass.html", "method": "same-major semantic node", "sha256": "da59bf9cb7d8a9ec0aeab1f5d3593429eec79ce6a1715eb47434832287159c3c", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/16/xfunc-c.html", "method": "same-major semantic node", "sha256": "8809acadf9ad2b1e79b23f2446b430168f986eaa6d17e9b2e887266bb462299e", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "GiST operator class for box; member of box_ops.", "/versions/16/facts/0/label": "Object kind", "/versions/16/facts/0/value": "Operator class", "/versions/16/facts/1/label": "Index AM", "/versions/16/facts/2/label": "Input type", "/versions/16/facts/3/label": "Stored key type", "/versions/16/facts/3/value": "Same as input type (catalog zero)", "/versions/16/facts/4/label": "Default class", "/versions/16/facts/4/value": "yes", "/versions/16/tables/0/title": "Family operator strategies", "/versions/16/tables/1/title": "Family support functions", "/versions/16/tables/2/title": "Classes in this family", "/versions/16/related/0/label": "GiST Index AM", "/versions/16/related/1/label": "box_ops family", "/versions/16/related/2/label": "box data type", "/versions/16/sections/0/title": "Operator classes and families", "/versions/16/tables/0/rows/0/scope": "Class input pair", "/versions/16/tables/0/rows/1/scope": "Class input pair", "/versions/16/tables/0/rows/2/scope": "Class input pair", "/versions/16/tables/0/rows/3/scope": "Class input pair", "/versions/16/tables/0/rows/4/scope": "Class input pair", "/versions/16/tables/0/rows/5/scope": "Class input pair", "/versions/16/tables/0/rows/6/scope": "Class input pair", "/versions/16/tables/0/rows/7/scope": "Class input pair", "/versions/16/tables/0/rows/8/scope": "Class input pair", "/versions/16/tables/0/rows/9/scope": "Class input pair", "/versions/16/tables/0/rows/10/scope": "Class input pair", "/versions/16/tables/0/rows/11/scope": "Class input pair", "/versions/16/tables/0/rows/12/scope": "Family member", "/versions/16/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/16/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/16/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/16/tables/0/rows/0/purpose": "search", "/versions/16/tables/0/rows/1/purpose": "search", "/versions/16/tables/0/rows/2/purpose": "search", "/versions/16/tables/0/rows/3/purpose": "search", "/versions/16/tables/0/rows/4/purpose": "search", "/versions/16/tables/0/rows/5/purpose": "search", "/versions/16/tables/0/rows/6/purpose": "search", "/versions/16/tables/0/rows/7/purpose": "search", "/versions/16/tables/0/rows/8/purpose": "search", "/versions/16/tables/0/rows/9/purpose": "search", "/versions/16/tables/2/rows/0/default": "yes", "/versions/16/tables/0/columns/0/label": "Operator overload", "/versions/16/tables/0/columns/1/label": "Strategy", "/versions/16/tables/0/columns/2/label": "Purpose", "/versions/16/tables/0/columns/3/label": "Ordering family", "/versions/16/tables/0/columns/4/label": "Membership scope", "/versions/16/tables/0/columns/5/label": "Source description", "/versions/16/tables/0/rows/10/purpose": "search", "/versions/16/tables/0/rows/11/purpose": "search", "/versions/16/tables/0/rows/12/purpose": "ordering", "/versions/16/tables/1/columns/0/label": "Support number", "/versions/16/tables/1/columns/1/label": "Left type", "/versions/16/tables/1/columns/2/label": "Right type", "/versions/16/tables/1/columns/3/label": "Function signature", "/versions/16/tables/1/columns/4/label": "Result type", "/versions/16/tables/2/columns/0/label": "Class", "/versions/16/tables/2/columns/1/label": "Input type", "/versions/16/tables/2/columns/2/label": "Key type", "/versions/16/tables/2/columns/3/label": "Default", "/versions/16/tables/2/rows/0/key_type": "Same as input type", "/versions/16/tables/0/rows/0/description": "is left of", "/versions/16/tables/0/rows/1/description": "overlaps or is left of", "/versions/16/tables/0/rows/2/description": "overlaps", "/versions/16/tables/0/rows/3/description": "overlaps or is right of", "/versions/16/tables/0/rows/4/description": "is right of", "/versions/16/tables/0/rows/5/description": "same as", "/versions/16/tables/0/rows/6/description": "contains", "/versions/16/tables/0/rows/7/description": "is contained by", "/versions/16/tables/0/rows/8/description": "overlaps or is below", "/versions/16/tables/0/rows/9/description": "is below", "/versions/16/tables/1/rows/2/result_type": "internal", "/versions/16/tables/1/rows/3/result_type": "internal", "/versions/16/tables/1/rows/4/result_type": "internal", "/versions/16/tables/0/rows/10/description": "is above", "/versions/16/tables/0/rows/11/description": "overlaps or is above", "/versions/16/tables/0/rows/12/description": "distance between"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "cf45ed86dcd8140a498f97430e8e4bdb4679cf0ce8e09016be15e5c85eef63d0"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "sort_family": "float_ops"}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "float8"}]}, "comparison_hash": "27efe54945d643aae472ba48f36a317ff63889d142ef545a93e2d80955b89ba0", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "float8"}]}, "17": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=17", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=17", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=17", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=17", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=17", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=17", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=17", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=17", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=17", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=17", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=17", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=17", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u6392\u5e8f", "operator": {"url": "/wiki/operator/op-3c2d3e-box-point/?v=17", "text": "<->(box,point)"}, "strategy": "15", "description": "\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb", "sort_family": "float_ops"}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=17", "text": "box"}, "result_type": "float8"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=17", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=17", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=17", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=17", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=17", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "source_sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979", "manual_fingerprint": "b55870f8e80e1114a92ac7bfc97f4a6fa0dee8e75935895252bb6e5b866cf187", "catalog_fingerprint": "e888e3474202df1c60a8e7b6bf9f2d83b3866a52d119521659b7a82787d3829d"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, {"url": "https://pg.center/docs/17/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 17 English manual: indexes-opclass.html", "sha256": "dcdeb2d461b79e5c679d29f2a6d3ad038c788ba5a6d094e63d17353352db3ef2", "language": "en", "original_url": "/docs/17/indexes-opclass.html"}, {"url": "https://pg.center/docs/17/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 17 English manual: catalog-pg-opclass.html", "sha256": "2daafcf4d1d6ae524abfc92ef8799237b82d390fc72622f7d59c142ef4bdc0bc", "language": "en", "original_url": "/docs/17/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/17/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 17 English manual: catalog-pg-amop.html", "sha256": "19b2fb110b348860f7fbcb6e0e0544e341f5645113c23f50920a54434d432359", "language": "en", "original_url": "/docs/17/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/17/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 17 English manual: catalog-pg-amproc.html", "sha256": "c1e9a6c78cb61e434eba6e22547c50a677d0c414049fd515263bec770b16ff55", "language": "en", "original_url": "/docs/17/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "description": "distance between", "family_slug": "family-gist-box_ops", "result_type": "float8", "sort_family": "float_ops", "operator_slug": "op-3c2d3e-box-point", "sort_family_slug": "family-btree-float_ops"}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/17/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "79658772dd07ff10c4a4a472853e5a9bcba832796f5f9d2c0c77a87da769e5f6", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]", "#CATALOG-PG-AMOP/p[2]/em[2]"]}, {"url": "/docs/17/indexes-opclass.html", "method": "same-major semantic node", "sha256": "66b33ea1fd240b6fae08ded914d718d50dfeba9d5be16dac835d0472b9cc9e4a", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/17/xfunc-c.html", "method": "same-major semantic node", "sha256": "990e09637f0fb7a154eb0f5e8cb7b319a7603214d08975bd973130527b705f1f", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "GiST operator class for box; member of box_ops.", "/versions/17/facts/0/label": "Object kind", "/versions/17/facts/0/value": "Operator class", "/versions/17/facts/1/label": "Index AM", "/versions/17/facts/2/label": "Input type", "/versions/17/facts/3/label": "Stored key type", "/versions/17/facts/3/value": "Same as input type (catalog zero)", "/versions/17/facts/4/label": "Default class", "/versions/17/facts/4/value": "yes", "/versions/17/tables/0/title": "Family operator strategies", "/versions/17/tables/1/title": "Family support functions", "/versions/17/tables/2/title": "Classes in this family", "/versions/17/related/0/label": "GiST Index AM", "/versions/17/related/1/label": "box_ops family", "/versions/17/related/2/label": "box data type", "/versions/17/sections/0/title": "Operator classes and families", "/versions/17/tables/0/rows/0/scope": "Class input pair", "/versions/17/tables/0/rows/1/scope": "Class input pair", "/versions/17/tables/0/rows/2/scope": "Class input pair", "/versions/17/tables/0/rows/3/scope": "Class input pair", "/versions/17/tables/0/rows/4/scope": "Class input pair", "/versions/17/tables/0/rows/5/scope": "Class input pair", "/versions/17/tables/0/rows/6/scope": "Class input pair", "/versions/17/tables/0/rows/7/scope": "Class input pair", "/versions/17/tables/0/rows/8/scope": "Class input pair", "/versions/17/tables/0/rows/9/scope": "Class input pair", "/versions/17/tables/0/rows/10/scope": "Class input pair", "/versions/17/tables/0/rows/11/scope": "Class input pair", "/versions/17/tables/0/rows/12/scope": "Family member", "/versions/17/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/17/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/17/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/17/tables/0/rows/0/purpose": "search", "/versions/17/tables/0/rows/1/purpose": "search", "/versions/17/tables/0/rows/2/purpose": "search", "/versions/17/tables/0/rows/3/purpose": "search", "/versions/17/tables/0/rows/4/purpose": "search", "/versions/17/tables/0/rows/5/purpose": "search", "/versions/17/tables/0/rows/6/purpose": "search", "/versions/17/tables/0/rows/7/purpose": "search", "/versions/17/tables/0/rows/8/purpose": "search", "/versions/17/tables/0/rows/9/purpose": "search", "/versions/17/tables/2/rows/0/default": "yes", "/versions/17/tables/0/columns/0/label": "Operator overload", "/versions/17/tables/0/columns/1/label": "Strategy", "/versions/17/tables/0/columns/2/label": "Purpose", "/versions/17/tables/0/columns/3/label": "Ordering family", "/versions/17/tables/0/columns/4/label": "Membership scope", "/versions/17/tables/0/columns/5/label": "Source description", "/versions/17/tables/0/rows/10/purpose": "search", "/versions/17/tables/0/rows/11/purpose": "search", "/versions/17/tables/0/rows/12/purpose": "ordering", "/versions/17/tables/1/columns/0/label": "Support number", "/versions/17/tables/1/columns/1/label": "Left type", "/versions/17/tables/1/columns/2/label": "Right type", "/versions/17/tables/1/columns/3/label": "Function signature", "/versions/17/tables/1/columns/4/label": "Result type", "/versions/17/tables/2/columns/0/label": "Class", "/versions/17/tables/2/columns/1/label": "Input type", "/versions/17/tables/2/columns/2/label": "Key type", "/versions/17/tables/2/columns/3/label": "Default", "/versions/17/tables/2/rows/0/key_type": "Same as input type", "/versions/17/tables/0/rows/0/description": "is left of", "/versions/17/tables/0/rows/1/description": "overlaps or is left of", "/versions/17/tables/0/rows/2/description": "overlaps", "/versions/17/tables/0/rows/3/description": "overlaps or is right of", "/versions/17/tables/0/rows/4/description": "is right of", "/versions/17/tables/0/rows/5/description": "same as", "/versions/17/tables/0/rows/6/description": "contains", "/versions/17/tables/0/rows/7/description": "is contained by", "/versions/17/tables/0/rows/8/description": "overlaps or is below", "/versions/17/tables/0/rows/9/description": "is below", "/versions/17/tables/1/rows/2/result_type": "internal", "/versions/17/tables/1/rows/3/result_type": "internal", "/versions/17/tables/1/rows/4/result_type": "internal", "/versions/17/tables/0/rows/10/description": "is above", "/versions/17/tables/0/rows/11/description": "overlaps or is above", "/versions/17/tables/0/rows/12/description": "distance between"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "d0755d43e7fdb6f634453fd7f87148b42f21c50d89c79911fdac45a30a679ebe"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "sort_family": "float_ops"}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "float8"}]}, "comparison_hash": "27efe54945d643aae472ba48f36a317ff63889d142ef545a93e2d80955b89ba0", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "float8"}]}, "18": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=18", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=18", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=18", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=18", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=18", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=18", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=18", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=18", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=18", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=18", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=18", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=18", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u6392\u5e8f", "operator": {"url": "/wiki/operator/op-3c2d3e-box-point/?v=18", "text": "<->(box,point)"}, "strategy": "15", "description": "\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb", "sort_family": "float_ops"}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "float8"}, {"number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": {"url": "/wiki/type/any/?v=18", "text": "any"}, "right_type": {"url": "/wiki/type/any/?v=18", "text": "any"}, "result_type": "int2"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=18", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=18", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=18", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=18", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=18", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "manual_fingerprint": "fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc", "catalog_fingerprint": "deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "https://pg.center/docs/18/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 18 English manual: indexes-opclass.html", "sha256": "07de06abf3a2aff2a891a2789def434d9b76705e54d45ca5338dc13451ae2962", "language": "en", "original_url": "/docs/18/indexes-opclass.html"}, {"url": "https://pg.center/docs/18/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 18 English manual: catalog-pg-opclass.html", "sha256": "6f131a502f81b813d447e746fc39ee28e5bdfb3ce8e8baea36a71ad0fde78c40", "language": "en", "original_url": "/docs/18/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/18/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 18 English manual: catalog-pg-amop.html", "sha256": "e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1", "language": "en", "original_url": "/docs/18/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/18/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 18 English manual: catalog-pg-amproc.html", "sha256": "0a09afbde0ba8da9899bf770b86d8301bee116057b16ebe7db0e4a7fca2e91c6", "language": "en", "original_url": "/docs/18/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "description": "distance between", "family_slug": "family-gist-box_ops", "result_type": "float8", "sort_family": "float_ops", "operator_slug": "op-3c2d3e-box-point", "sort_family_slug": "family-btree-float_ops"}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/18/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "c46185aa5f574dacd289a0b3876023793406b4cf58dee7eeebb86436d0577bdc", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]", "#CATALOG-PG-AMOP/p[2]/em[2]"]}, {"url": "/docs/18/indexes-opclass.html", "method": "same-major semantic node", "sha256": "d2d3789266054f227a79e8de0e96355c10b20598c2958745751fea464d457f8d", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/18/xfunc-c.html", "method": "same-major semantic node", "sha256": "4b35ab16ac85cc22b5c37555941784a2fd0a1b66b507e9dfff9a239102c15e77", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "GiST operator class for box; member of box_ops.", "/versions/18/facts/0/label": "Object kind", "/versions/18/facts/0/value": "Operator class", "/versions/18/facts/1/label": "Index AM", "/versions/18/facts/2/label": "Input type", "/versions/18/facts/3/label": "Stored key type", "/versions/18/facts/3/value": "Same as input type (catalog zero)", "/versions/18/facts/4/label": "Default class", "/versions/18/facts/4/value": "yes", "/versions/18/tables/0/title": "Family operator strategies", "/versions/18/tables/1/title": "Family support functions", "/versions/18/tables/2/title": "Classes in this family", "/versions/18/related/0/label": "GiST Index AM", "/versions/18/related/1/label": "box_ops family", "/versions/18/related/2/label": "box data type", "/versions/18/sections/0/title": "Operator classes and families", "/versions/18/tables/0/rows/0/scope": "Class input pair", "/versions/18/tables/0/rows/1/scope": "Class input pair", "/versions/18/tables/0/rows/2/scope": "Class input pair", "/versions/18/tables/0/rows/3/scope": "Class input pair", "/versions/18/tables/0/rows/4/scope": "Class input pair", "/versions/18/tables/0/rows/5/scope": "Class input pair", "/versions/18/tables/0/rows/6/scope": "Class input pair", "/versions/18/tables/0/rows/7/scope": "Class input pair", "/versions/18/tables/0/rows/8/scope": "Class input pair", "/versions/18/tables/0/rows/9/scope": "Class input pair", "/versions/18/tables/0/rows/10/scope": "Class input pair", "/versions/18/tables/0/rows/11/scope": "Class input pair", "/versions/18/tables/0/rows/12/scope": "Family member", "/versions/18/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/18/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/18/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/18/tables/0/rows/0/purpose": "search", "/versions/18/tables/0/rows/1/purpose": "search", "/versions/18/tables/0/rows/2/purpose": "search", "/versions/18/tables/0/rows/3/purpose": "search", "/versions/18/tables/0/rows/4/purpose": "search", "/versions/18/tables/0/rows/5/purpose": "search", "/versions/18/tables/0/rows/6/purpose": "search", "/versions/18/tables/0/rows/7/purpose": "search", "/versions/18/tables/0/rows/8/purpose": "search", "/versions/18/tables/0/rows/9/purpose": "search", "/versions/18/tables/2/rows/0/default": "yes", "/versions/18/tables/0/columns/0/label": "Operator overload", "/versions/18/tables/0/columns/1/label": "Strategy", "/versions/18/tables/0/columns/2/label": "Purpose", "/versions/18/tables/0/columns/3/label": "Ordering family", "/versions/18/tables/0/columns/4/label": "Membership scope", "/versions/18/tables/0/columns/5/label": "Source description", "/versions/18/tables/0/rows/10/purpose": "search", "/versions/18/tables/0/rows/11/purpose": "search", "/versions/18/tables/0/rows/12/purpose": "ordering", "/versions/18/tables/1/columns/0/label": "Support number", "/versions/18/tables/1/columns/1/label": "Left type", "/versions/18/tables/1/columns/2/label": "Right type", "/versions/18/tables/1/columns/3/label": "Function signature", "/versions/18/tables/1/columns/4/label": "Result type", "/versions/18/tables/2/columns/0/label": "Class", "/versions/18/tables/2/columns/1/label": "Input type", "/versions/18/tables/2/columns/2/label": "Key type", "/versions/18/tables/2/columns/3/label": "Default", "/versions/18/tables/2/rows/0/key_type": "Same as input type", "/versions/18/tables/0/rows/0/description": "is left of", "/versions/18/tables/0/rows/1/description": "overlaps or is left of", "/versions/18/tables/0/rows/2/description": "overlaps", "/versions/18/tables/0/rows/3/description": "overlaps or is right of", "/versions/18/tables/0/rows/4/description": "is right of", "/versions/18/tables/0/rows/5/description": "same as", "/versions/18/tables/0/rows/6/description": "contains", "/versions/18/tables/0/rows/7/description": "is contained by", "/versions/18/tables/0/rows/8/description": "overlaps or is below", "/versions/18/tables/0/rows/9/description": "is below", "/versions/18/tables/1/rows/2/result_type": "internal", "/versions/18/tables/1/rows/3/result_type": "internal", "/versions/18/tables/1/rows/4/result_type": "internal", "/versions/18/tables/0/rows/10/description": "is above", "/versions/18/tables/0/rows/11/description": "overlaps or is above", "/versions/18/tables/0/rows/12/description": "distance between"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "6d88196aad2c90eaf6662186d6c01b27da06993ea8870440581a36fae18c1f3b"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "sort_family": "float_ops"}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": "any", "right_type": "any", "result_type": "int2"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "float8"}]}, "comparison_hash": "963576d31e87b8d9323ff1d77f12ed594acc12e900f860da24c1b5c85d2c6028", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "float8"}, {"family": "box_ops", "method": "gist", "number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": "any", "right_type": "any", "family_slug": "family-gist-box_ops", "result_type": "int2"}]}, "19": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=19", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=19", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=19", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=19", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=19", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=19", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=19", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=19", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=19", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=19", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=19", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=19", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u6392\u5e8f", "operator": {"url": "/wiki/operator/op-3c2d3e-box-point/?v=19", "text": "<->(box,point)"}, "strategy": "15", "description": "\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb", "sort_family": "float_ops"}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=19", "text": "box"}, "result_type": "float8"}, {"number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": {"url": "/wiki/type/any/?v=19", "text": "any"}, "right_type": {"url": "/wiki/type/any/?v=19", "text": "any"}, "result_type": "int2"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=19", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=19", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=19", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=19", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=19", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86", "source_sha256": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86", "manual_fingerprint": "d1c30d7808d3ae2edc8773a0dd66f7beb5861e8939001e171c1908f7a09bb497", "catalog_fingerprint": "9af4323d0c8ed03d0e795331930bd14ce9bf6193c6b766c463b9f6ec0829409a"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, {"url": "https://pg.center/docs/19/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 19 English manual: indexes-opclass.html", "sha256": "eba382a4227a2865a52fb015c7aec0dbde33d3c24373e3f9ba11e1daeae8b89c", "language": "en", "original_url": "/docs/19/indexes-opclass.html"}, {"url": "https://pg.center/docs/19/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 19 English manual: catalog-pg-opclass.html", "sha256": "e204d4682013f05c202b6a0df0b7b178ac74d17fceb8936cc97dc3d98e7d530b", "language": "en", "original_url": "/docs/19/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/19/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 19 English manual: catalog-pg-amop.html", "sha256": "711850fdde973fbaf16da94143a2de3b972bed7a3b8663bf80e4aeabaf2f43fe", "language": "en", "original_url": "/docs/19/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/19/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 19 English manual: catalog-pg-amproc.html", "sha256": "156082a05f95005ad8fabba56d5880f15f3b194d5f378ffee29a77066c77de12", "language": "en", "original_url": "/docs/19/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "description": "distance between", "family_slug": "family-gist-box_ops", "result_type": "float8", "sort_family": "float_ops", "operator_slug": "op-3c2d3e-box-point", "sort_family_slug": "family-btree-float_ops"}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/19/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "8685135a1f22b71dfcd182e77ed97d14ceb21f011d1b58b2b168130423c68d5c", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]", "#CATALOG-PG-AMOP/p[2]/em[2]"]}, {"url": "/docs/19/indexes-opclass.html", "method": "same-major semantic node", "sha256": "4b7641f1380b0a251d73741ec707584129005d66bc7a9e701ec660c45294044f", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/19/xfunc-c.html", "method": "same-major semantic node", "sha256": "280b87b6c75df1c65f4fa4342c909e5e22ef756458232ac785459c8176101153", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "GiST operator class for box; member of box_ops.", "/versions/19/facts/0/label": "Object kind", "/versions/19/facts/0/value": "Operator class", "/versions/19/facts/1/label": "Index AM", "/versions/19/facts/2/label": "Input type", "/versions/19/facts/3/label": "Stored key type", "/versions/19/facts/3/value": "Same as input type (catalog zero)", "/versions/19/facts/4/label": "Default class", "/versions/19/facts/4/value": "yes", "/versions/19/tables/0/title": "Family operator strategies", "/versions/19/tables/1/title": "Family support functions", "/versions/19/tables/2/title": "Classes in this family", "/versions/19/related/0/label": "GiST Index AM", "/versions/19/related/1/label": "box_ops family", "/versions/19/related/2/label": "box data type", "/versions/19/sections/0/title": "Operator classes and families", "/versions/19/tables/0/rows/0/scope": "Class input pair", "/versions/19/tables/0/rows/1/scope": "Class input pair", "/versions/19/tables/0/rows/2/scope": "Class input pair", "/versions/19/tables/0/rows/3/scope": "Class input pair", "/versions/19/tables/0/rows/4/scope": "Class input pair", "/versions/19/tables/0/rows/5/scope": "Class input pair", "/versions/19/tables/0/rows/6/scope": "Class input pair", "/versions/19/tables/0/rows/7/scope": "Class input pair", "/versions/19/tables/0/rows/8/scope": "Class input pair", "/versions/19/tables/0/rows/9/scope": "Class input pair", "/versions/19/tables/0/rows/10/scope": "Class input pair", "/versions/19/tables/0/rows/11/scope": "Class input pair", "/versions/19/tables/0/rows/12/scope": "Family member", "/versions/19/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/19/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/19/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/19/tables/0/rows/0/purpose": "search", "/versions/19/tables/0/rows/1/purpose": "search", "/versions/19/tables/0/rows/2/purpose": "search", "/versions/19/tables/0/rows/3/purpose": "search", "/versions/19/tables/0/rows/4/purpose": "search", "/versions/19/tables/0/rows/5/purpose": "search", "/versions/19/tables/0/rows/6/purpose": "search", "/versions/19/tables/0/rows/7/purpose": "search", "/versions/19/tables/0/rows/8/purpose": "search", "/versions/19/tables/0/rows/9/purpose": "search", "/versions/19/tables/2/rows/0/default": "yes", "/versions/19/tables/0/columns/0/label": "Operator overload", "/versions/19/tables/0/columns/1/label": "Strategy", "/versions/19/tables/0/columns/2/label": "Purpose", "/versions/19/tables/0/columns/3/label": "Ordering family", "/versions/19/tables/0/columns/4/label": "Membership scope", "/versions/19/tables/0/columns/5/label": "Source description", "/versions/19/tables/0/rows/10/purpose": "search", "/versions/19/tables/0/rows/11/purpose": "search", "/versions/19/tables/0/rows/12/purpose": "ordering", "/versions/19/tables/1/columns/0/label": "Support number", "/versions/19/tables/1/columns/1/label": "Left type", "/versions/19/tables/1/columns/2/label": "Right type", "/versions/19/tables/1/columns/3/label": "Function signature", "/versions/19/tables/1/columns/4/label": "Result type", "/versions/19/tables/2/columns/0/label": "Class", "/versions/19/tables/2/columns/1/label": "Input type", "/versions/19/tables/2/columns/2/label": "Key type", "/versions/19/tables/2/columns/3/label": "Default", "/versions/19/tables/2/rows/0/key_type": "Same as input type", "/versions/19/tables/0/rows/0/description": "is left of", "/versions/19/tables/0/rows/1/description": "overlaps or is left of", "/versions/19/tables/0/rows/2/description": "overlaps", "/versions/19/tables/0/rows/3/description": "overlaps or is right of", "/versions/19/tables/0/rows/4/description": "is right of", "/versions/19/tables/0/rows/5/description": "same as", "/versions/19/tables/0/rows/6/description": "contains", "/versions/19/tables/0/rows/7/description": "is contained by", "/versions/19/tables/0/rows/8/description": "overlaps or is below", "/versions/19/tables/0/rows/9/description": "is below", "/versions/19/tables/1/rows/2/result_type": "internal", "/versions/19/tables/1/rows/3/result_type": "internal", "/versions/19/tables/1/rows/4/result_type": "internal", "/versions/19/tables/0/rows/10/description": "is above", "/versions/19/tables/0/rows/11/description": "overlaps or is above", "/versions/19/tables/0/rows/12/description": "distance between"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "7a3c178971b0d1d9ce0778014a07ca5f4760eede9c6a4b13a385d77b61046c18"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "sort_family": "float_ops"}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": "any", "right_type": "any", "result_type": "int2"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "float8"}]}, "comparison_hash": "963576d31e87b8d9323ff1d77f12ed594acc12e900f860da24c1b5c85d2c6028", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "float8"}, {"family": "box_ops", "method": "gist", "number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": "any", "right_type": "any", "family_slug": "family-gist-box_ops", "result_type": "int2"}]}, "20": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=20", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=20", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=20", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=20", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=20", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=20", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=20", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=20", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=20", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=20", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=20", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=20", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u6392\u5e8f", "operator": {"url": "/wiki/operator/op-3c2d3e-box-point/?v=20", "text": "<->(box,point)"}, "strategy": "15", "description": "\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb", "sort_family": "float_ops"}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=20", "text": "box"}, "result_type": "float8"}, {"number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": {"url": "/wiki/type/any/?v=20", "text": "any"}, "right_type": {"url": "/wiki/type/any/?v=20", "text": "any"}, "result_type": "int2"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=20", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=20", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=20", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=20", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=20", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41", "source_sha256": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41", "manual_fingerprint": "48fb9e20e9e1454fe93d367e75b949833c82c1c52c2b69314dfffe1c464f3f39", "catalog_fingerprint": "cc1a474e972c8c342cf17f37e2884c56cc4b114cb59407b0180e99cdcfffa5c5", "source_snapshot_utc": "26-Sep-2026 20:22"}, "sources": [{"url": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, {"url": "https://pg.center/docs/devel/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 20 English manual: indexes-opclass.html", "sha256": "11f438e25406337ef7c41690a7d47744980230c83ade5106803b49a7a09afb80", "language": "en", "original_url": "/docs/devel/indexes-opclass.html"}, {"url": "https://pg.center/docs/devel/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 20 English manual: catalog-pg-opclass.html", "sha256": "ff36405486ec573922caff5bcf9cf5f8f8375c9371968fbd3ebc8c435a780ce8", "language": "en", "original_url": "/docs/devel/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/devel/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 20 English manual: catalog-pg-amop.html", "sha256": "00fee8a631088b687e2d880e4091791ca30f9c69fca888c51ece463d1b9e1e61", "language": "en", "original_url": "/docs/devel/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/devel/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 20 English manual: catalog-pg-amproc.html", "sha256": "5390831efcf71a10077be802ab320fbf5d6fc780fdadf679cd162f3a46a3c6d3", "language": "en", "original_url": "/docs/devel/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "description": "distance between", "family_slug": "family-gist-box_ops", "result_type": "float8", "sort_family": "float_ops", "operator_slug": "op-3c2d3e-box-point", "sort_family_slug": "family-btree-float_ops"}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/devel/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "e899b3d8b206f52e8dc0ac4b6019e55022abcf901a9d6cf93edf588bc4354664", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]", "#CATALOG-PG-AMOP/p[2]/em[2]"]}, {"url": "/docs/devel/indexes-opclass.html", "method": "same-major semantic node", "sha256": "166b0550fdb1c3e8c1fbd979c5e41c060ed4cfcdc2d6ba4733ec27d22f45a62d", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/devel/xfunc-c.html", "method": "same-major semantic node", "sha256": "19a7606d054b83bc9a0d8643e200db180e0d278d67acfdd6d5f84e3b3a3e4db7", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/summary": "GiST operator class for box; member of box_ops.", "/category": "GiST classes", "/versions/20/description/0": "GiST operator class for box; member of box_ops.", "/versions/20/facts/0/label": "Object kind", "/versions/20/facts/0/value": "Operator class", "/versions/20/facts/1/label": "Index AM", "/versions/20/facts/2/label": "Input type", "/versions/20/facts/3/label": "Stored key type", "/versions/20/facts/3/value": "Same as input type (catalog zero)", "/versions/20/facts/4/label": "Default class", "/versions/20/facts/4/value": "yes", "/versions/20/tables/0/title": "Family operator strategies", "/versions/20/tables/1/title": "Family support functions", "/versions/20/tables/2/title": "Classes in this family", "/versions/20/related/0/label": "GiST Index AM", "/versions/20/related/1/label": "box_ops family", "/versions/20/related/2/label": "box data type", "/versions/20/sections/0/title": "Operator classes and families", "/versions/20/tables/0/rows/0/scope": "Class input pair", "/versions/20/tables/0/rows/1/scope": "Class input pair", "/versions/20/tables/0/rows/2/scope": "Class input pair", "/versions/20/tables/0/rows/3/scope": "Class input pair", "/versions/20/tables/0/rows/4/scope": "Class input pair", "/versions/20/tables/0/rows/5/scope": "Class input pair", "/versions/20/tables/0/rows/6/scope": "Class input pair", "/versions/20/tables/0/rows/7/scope": "Class input pair", "/versions/20/tables/0/rows/8/scope": "Class input pair", "/versions/20/tables/0/rows/9/scope": "Class input pair", "/versions/20/tables/0/rows/10/scope": "Class input pair", "/versions/20/tables/0/rows/11/scope": "Class input pair", "/versions/20/tables/0/rows/12/scope": "Family member", "/versions/20/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/20/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/20/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/20/tables/0/rows/0/purpose": "search", "/versions/20/tables/0/rows/1/purpose": "search", "/versions/20/tables/0/rows/2/purpose": "search", "/versions/20/tables/0/rows/3/purpose": "search", "/versions/20/tables/0/rows/4/purpose": "search", "/versions/20/tables/0/rows/5/purpose": "search", "/versions/20/tables/0/rows/6/purpose": "search", "/versions/20/tables/0/rows/7/purpose": "search", "/versions/20/tables/0/rows/8/purpose": "search", "/versions/20/tables/0/rows/9/purpose": "search", "/versions/20/tables/2/rows/0/default": "yes", "/versions/20/tables/0/columns/0/label": "Operator overload", "/versions/20/tables/0/columns/1/label": "Strategy", "/versions/20/tables/0/columns/2/label": "Purpose", "/versions/20/tables/0/columns/3/label": "Ordering family", "/versions/20/tables/0/columns/4/label": "Membership scope", "/versions/20/tables/0/columns/5/label": "Source description", "/versions/20/tables/0/rows/10/purpose": "search", "/versions/20/tables/0/rows/11/purpose": "search", "/versions/20/tables/0/rows/12/purpose": "ordering", "/versions/20/tables/1/columns/0/label": "Support number", "/versions/20/tables/1/columns/1/label": "Left type", "/versions/20/tables/1/columns/2/label": "Right type", "/versions/20/tables/1/columns/3/label": "Function signature", "/versions/20/tables/1/columns/4/label": "Result type", "/versions/20/tables/2/columns/0/label": "Class", "/versions/20/tables/2/columns/1/label": "Input type", "/versions/20/tables/2/columns/2/label": "Key type", "/versions/20/tables/2/columns/3/label": "Default", "/versions/20/tables/2/rows/0/key_type": "Same as input type", "/versions/20/tables/0/rows/0/description": "is left of", "/versions/20/tables/0/rows/1/description": "overlaps or is left of", "/versions/20/tables/0/rows/2/description": "overlaps", "/versions/20/tables/0/rows/3/description": "overlaps or is right of", "/versions/20/tables/0/rows/4/description": "is right of", "/versions/20/tables/0/rows/5/description": "same as", "/versions/20/tables/0/rows/6/description": "contains", "/versions/20/tables/0/rows/7/description": "is contained by", "/versions/20/tables/0/rows/8/description": "overlaps or is below", "/versions/20/tables/0/rows/9/description": "is below", "/versions/20/tables/1/rows/2/result_type": "internal", "/versions/20/tables/1/rows/3/result_type": "internal", "/versions/20/tables/1/rows/4/result_type": "internal", "/versions/20/tables/0/rows/10/description": "is above", "/versions/20/tables/0/rows/11/description": "overlaps or is above", "/versions/20/tables/0/rows/12/description": "distance between"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "37aade08ed3a40ad4c4a04b22012e210513cbe5ae988c4b72761dd40b4bbc17f"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "sort_family": "float_ops"}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": "any", "right_type": "any", "result_type": "int2"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "float8"}]}, "comparison_hash": "963576d31e87b8d9323ff1d77f12ed594acc12e900f860da24c1b5c85d2c6028", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "float8"}, {"family": "box_ops", "method": "gist", "number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": "any", "right_type": "any", "family_slug": "family-gist-box_ops", "result_type": "int2"}]}}}, "snapshot": {"class": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "facts": [{"label": "\u5bf9\u8c61\u79cd\u7c7b", "value": "\u64cd\u4f5c\u7b26\u7c7b"}, {"label": "\u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5", "value": "GiST"}, {"label": "\u8f93\u5165\u7c7b\u578b", "value": "box"}, {"label": "\u5b58\u50a8\u952e\u7c7b\u578b", "value": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c\uff08\u76ee\u5f55\u503c\u4e3a\u96f6\uff09"}, {"label": "\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b", "value": "\u662f"}], "tables": [{"key": "operators", "rows": [{"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c-box-box/?v=18", "text": "<<(box,box)"}, "strategy": "1", "description": "\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c-box-box/?v=18", "text": "&<(box,box)"}, "strategy": "2", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u5de6\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-2626-box-box/?v=18", "text": "&&(box,box)"}, "strategy": "3", "description": "\u91cd\u53e0", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263e-box-box/?v=18", "text": "&>(box,box)"}, "strategy": "4", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3e3e-box-box/?v=18", "text": ">>(box,box)"}, "strategy": "5", "description": "\u4f4d\u4e8e\u53f3\u4fa7", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7e3d-box-box/?v=18", "text": "~=(box,box)"}, "strategy": "6", "description": "\u76f8\u540c", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-403e-box-box/?v=18", "text": "@>(box,box)"}, "strategy": "7", "description": "\u5305\u542b", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c40-box-box/?v=18", "text": "<@(box,box)"}, "strategy": "8", "description": "\u88ab\u5305\u542b\u4e8e", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-263c7c-box-box/?v=18", "text": "&<|(box,box)"}, "strategy": "9", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-3c3c7c-box-box/?v=18", "text": "<<|(box,box)"}, "strategy": "10", "description": "\u4f4d\u4e8e\u4e0b\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c3e3e-box-box/?v=18", "text": "|>>(box,box)"}, "strategy": "11", "description": "\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u64cd\u4f5c\u7b26\u7c7b\u8f93\u5165\u7c7b\u578b\u5bf9", "purpose": "\u641c\u7d22", "operator": {"url": "/wiki/operator/op-7c263e-box-box/?v=18", "text": "|&>(box,box)"}, "strategy": "12", "description": "\u91cd\u53e0\u6216\u4f4d\u4e8e\u4e0a\u65b9", "sort_family": ""}, {"scope": "\u5bb6\u65cf\u6210\u5458", "purpose": "\u6392\u5e8f", "operator": {"url": "/wiki/operator/op-3c2d3e-box-point/?v=18", "text": "<->(box,point)"}, "strategy": "15", "description": "\u4e24\u8005\u4e4b\u95f4\u7684\u8ddd\u79bb", "sort_family": "float_ops"}], "title": "\u5bb6\u65cf\u4e2d\u7684\u64cd\u4f5c\u7b26\u7b56\u7565", "columns": [{"key": "operator", "label": "\u64cd\u4f5c\u7b26\u91cd\u8f7d"}, {"key": "strategy", "label": "\u7b56\u7565"}, {"key": "purpose", "label": "\u7528\u9014"}, {"key": "sort_family", "label": "\u6392\u5e8f\u5bb6\u65cf"}, {"key": "scope", "label": "\u6210\u5458\u8303\u56f4"}, {"key": "description", "label": "\u6e90\u7801\u8bf4\u660e"}]}, {"key": "support-functions", "rows": [{"number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "bool"}, {"number": "2", "function": "gist_box_union(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "box"}, {"number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "7", "function": "gist_box_same(box,box,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "\u5185\u90e8"}, {"number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "right_type": {"url": "/wiki/type/box/?v=18", "text": "box"}, "result_type": "float8"}, {"number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": {"url": "/wiki/type/any/?v=18", "text": "any"}, "right_type": {"url": "/wiki/type/any/?v=18", "text": "any"}, "result_type": "int2"}], "title": "\u5bb6\u65cf\u652f\u6301\u51fd\u6570", "columns": [{"key": "number", "label": "\u652f\u6301\u51fd\u6570\u7f16\u53f7"}, {"key": "left_type", "label": "\u5de6\u4fa7\u7c7b\u578b"}, {"key": "right_type", "label": "\u53f3\u4fa7\u7c7b\u578b"}, {"key": "function", "label": "\u51fd\u6570\u7b7e\u540d"}, {"key": "result_type", "label": "\u8fd4\u56de\u7c7b\u578b"}]}, {"key": "classes", "rows": [{"class": {"url": "/wiki/opclass/class-gist-box_ops/?v=18", "text": "box_ops"}, "default": "\u662f", "key_type": "\u4e0e\u8f93\u5165\u7c7b\u578b\u76f8\u540c", "input_type": {"url": "/wiki/type/box/?v=18", "text": "box"}}], "title": "\u672c\u5bb6\u65cf\u7684\u64cd\u4f5c\u7b26\u7c7b", "columns": [{"key": "class", "label": "\u64cd\u4f5c\u7b26\u7c7b"}, {"key": "input_type", "label": "\u8f93\u5165\u7c7b\u578b"}, {"key": "key_type", "label": "\u952e\u7c7b\u578b"}, {"key": "default", "label": "\u9ed8\u8ba4\u503c"}]}], "aliases": ["box_ops", "gist/box_ops"], "classes": [{"name": "box_ops", "slug": "class-gist-box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box", "source_oid": "", "family_slug": "family-gist-box_ops"}], "related": [{"url": "/wiki/indexam/gist/?v=18", "label": "GiST \u7d22\u5f15\u8bbf\u95ee\u65b9\u6cd5"}, {"url": "/wiki/opclass/family-gist-box_ops/?v=18", "label": "box_ops \u5bb6\u65cf"}, {"url": "/wiki/type/box/?v=18", "label": "box \u6570\u636e\u7c7b\u578b"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "source_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f", "manual_fingerprint": "fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc", "catalog_fingerprint": "deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6"}, "sources": [{"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "Matching PostgreSQL source archive", "sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, {"url": "https://pg.center/docs/18/indexes-opclass.html", "path": "indexes-opclass.html", "label": "PostgreSQL 18 English manual: indexes-opclass.html", "sha256": "07de06abf3a2aff2a891a2789def434d9b76705e54d45ca5338dc13451ae2962", "language": "en", "original_url": "/docs/18/indexes-opclass.html"}, {"url": "https://pg.center/docs/18/catalog-pg-opclass.html", "path": "catalog-pg-opclass.html", "label": "PostgreSQL 18 English manual: catalog-pg-opclass.html", "sha256": "6f131a502f81b813d447e746fc39ee28e5bdfb3ce8e8baea36a71ad0fde78c40", "language": "en", "original_url": "/docs/18/catalog-pg-opclass.html"}, {"url": "https://pg.center/docs/18/catalog-pg-amop.html", "path": "catalog-pg-amop.html", "label": "PostgreSQL 18 English manual: catalog-pg-amop.html", "sha256": "e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1", "language": "en", "original_url": "/docs/18/catalog-pg-amop.html"}, {"url": "https://pg.center/docs/18/catalog-pg-amproc.html", "path": "catalog-pg-amproc.html", "label": "PostgreSQL 18 English manual: catalog-pg-amproc.html", "sha256": "0a09afbde0ba8da9899bf770b86d8301bee116057b16ebe7db0e4a7fca2e91c6", "language": "en", "original_url": "/docs/18/catalog-pg-amproc.html"}], "sections": [{"title": "\u64cd\u4f5c\u7b26\u7c7b\u4e0e\u5bb6\u65cf", "paragraphs": ["\u4e00\u4e2a\u7d22\u5f15\u5b9a\u4e49\u53ef\u4ee5\u4e3a\u7d22\u5f15\u7684\u6bcf\u4e00\u5217\u6307\u5b9a\u4e00\u4e2a \u64cd\u4f5c\u7b26\u7c7b \u3002", "\u64cd\u4f5c\u7b26\u7c7b\u6807\u8bc6\u8be5\u7d22\u5f15\u5728\u8be5\u5217\u4e0a\u8981\u4f7f\u7528\u54ea\u4e9b\u64cd\u4f5c\u7b26\u3002\u4f8b\u5982\uff0c\u7c7b\u578b int4 \u4e0a\u7684\u4e00\u4e2a B-\u6811\u7d22\u5f15\u4f1a\u4f7f\u7528 int4_ops \u7c7b\uff1b\u8fd9\u4e2a\u64cd\u4f5c\u7b26\u7c7b\u5305\u542b\u5bf9 int4 \u503c\u8fdb\u884c\u6bd4\u8f83\u6240\u9700\u7684\u51fd\u6570\u3002\u5b9e\u8df5\u4e2d\uff0c\u5217\u6570\u636e\u7c7b\u578b\u7684\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u901a\u5e38\u5df2\u7ecf\u8db3\u591f\u3002\u4e4b\u6240\u4ee5\u5b58\u5728\u64cd\u4f5c\u7b26\u7c7b\uff0c\u4e3b\u8981\u662f\u56e0\u4e3a\u5bf9\u67d0\u4e9b\u6570\u636e\u7c7b\u578b\u6765\u8bf4\uff0c\u53ef\u80fd\u5b58\u5728\u591a\u79cd\u6709\u610f\u4e49\u7684\u7d22\u5f15\u884c\u4e3a\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u6309\u7edd\u5bf9\u503c\u6392\u5e8f\u4e00\u79cd\u590d\u6570\u6570\u636e\u7c7b\u578b\uff0c\u4e5f\u53ef\u80fd\u5e0c\u671b\u6309\u5b9e\u90e8\u6392\u5e8f\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e3a\u8be5\u6570\u636e\u7c7b\u578b\u5b9a\u4e49\u4e24\u4e2a\u64cd\u4f5c\u7b26\u7c7b\uff0c\u5e76\u5728\u521b\u5efa\u7d22\u5f15\u65f6\u9009\u62e9\u5408\u9002\u7684\u90a3\u4e2a\u6765\u505a\u5230\u8fd9\u4e00\u70b9\u3002\u64cd\u4f5c\u7b26\u7c7b\u51b3\u5b9a\u4e86\u57fa\u7840\u6392\u5e8f\u987a\u5e8f\uff08\u4e4b\u540e\u8fd8\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u6392\u5e8f\u9009\u9879 COLLATE \u3001 ASC / DESC \u548c/\u6216 NULLS FIRST / NULLS LAST \u6765\u4fee\u6539\uff09\u3002", "\u9664\u4e86\u9ed8\u8ba4\u64cd\u4f5c\u7b26\u7c7b\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5185\u7f6e\u64cd\u4f5c\u7b26\u7c7b\uff1a"]}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "description": "is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "description": "overlaps or is left of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "description": "overlaps", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-2626-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "description": "overlaps or is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "description": "is right of", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "description": "same as", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7e3d-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "description": "contains", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-403e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "description": "is contained by", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c40-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "description": "overlaps or is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-263c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "description": "is below", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-3c3c7c-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "description": "is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c3e3e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "description": "overlaps or is above", "family_slug": "family-gist-box_ops", "result_type": "bool", "sort_family": "", "operator_slug": "op-7c263e-box-box", "sort_family_slug": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "description": "distance between", "family_slug": "family-gist-box_ops", "result_type": "float8", "sort_family": "float_ops", "operator_slug": "op-3c2d3e-box-point", "sort_family_slug": "family-btree-float_ops"}], "signature": "gist/box_ops", "source_oid": "", "description": ["box \u7c7b\u578b\u7684 GiST \u64cd\u4f5c\u7b26\u7c7b\uff0c\u5c5e\u4e8e box_ops \u5bb6\u65cf\u3002"], "localization": {"status": "complete", "sources": [{"url": "/docs/18/catalog-pg-amop.html", "method": "same-major semantic node", "sha256": "c46185aa5f574dacd289a0b3876023793406b4cf58dee7eeebb86436d0577bdc", "language": "zh", "matched_nodes": ["#CATALOG-PG-AMOP/p[2]/em[1]", "#CATALOG-PG-AMOP/p[2]/em[2]"]}, {"url": "/docs/18/indexes-opclass.html", "method": "same-major semantic node", "sha256": "d2d3789266054f227a79e8de0e96355c10b20598c2958745751fea464d457f8d", "language": "zh", "matched_nodes": ["#INDEXES-OPCLASS/p[3]", "#INDEXES-OPCLASS/p[5]", "#INDEXES-OPCLASS/p[6]"]}, {"url": "/docs/18/xfunc-c.html", "method": "same-major semantic node", "sha256": "4b35ab16ac85cc22b5c37555941784a2fd0a1b66b507e9dfff9a239102c15e77", "language": "zh", "matched_nodes": ["#XFUNC-C/p[3]/span[1]/span[0]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "GiST operator class for box; member of box_ops.", "/versions/18/facts/0/label": "Object kind", "/versions/18/facts/0/value": "Operator class", "/versions/18/facts/1/label": "Index AM", "/versions/18/facts/2/label": "Input type", "/versions/18/facts/3/label": "Stored key type", "/versions/18/facts/3/value": "Same as input type (catalog zero)", "/versions/18/facts/4/label": "Default class", "/versions/18/facts/4/value": "yes", "/versions/18/tables/0/title": "Family operator strategies", "/versions/18/tables/1/title": "Family support functions", "/versions/18/tables/2/title": "Classes in this family", "/versions/18/related/0/label": "GiST Index AM", "/versions/18/related/1/label": "box_ops family", "/versions/18/related/2/label": "box data type", "/versions/18/sections/0/title": "Operator classes and families", "/versions/18/tables/0/rows/0/scope": "Class input pair", "/versions/18/tables/0/rows/1/scope": "Class input pair", "/versions/18/tables/0/rows/2/scope": "Class input pair", "/versions/18/tables/0/rows/3/scope": "Class input pair", "/versions/18/tables/0/rows/4/scope": "Class input pair", "/versions/18/tables/0/rows/5/scope": "Class input pair", "/versions/18/tables/0/rows/6/scope": "Class input pair", "/versions/18/tables/0/rows/7/scope": "Class input pair", "/versions/18/tables/0/rows/8/scope": "Class input pair", "/versions/18/tables/0/rows/9/scope": "Class input pair", "/versions/18/tables/0/rows/10/scope": "Class input pair", "/versions/18/tables/0/rows/11/scope": "Class input pair", "/versions/18/tables/0/rows/12/scope": "Family member", "/versions/18/sections/0/paragraphs/0": "An index definition can specify an operator class for each column of an index.", "/versions/18/sections/0/paragraphs/1": "The operator class identifies the operators to be used by the index for that column. For example, a B-tree index on the type int4 would use the int4_ops class; this operator class includes comparison functions for values of type int4 . In practice the default operator class for the column's data type is usually sufficient. The main reason for having operator classes is that for some data types, there could be more than one meaningful index behavior. For example, we might want to sort a complex-number data type either by absolute value or by real part. We could do this by defining two operator classes for the data type and then selecting the proper class when making an index. The operator class determines the basic sort ordering (which can then be modified by adding sort options COLLATE , ASC / DESC and/or NULLS FIRST / NULLS LAST ).", "/versions/18/sections/0/paragraphs/2": "There are also some built-in operator classes besides the default ones:", "/versions/18/tables/0/rows/0/purpose": "search", "/versions/18/tables/0/rows/1/purpose": "search", "/versions/18/tables/0/rows/2/purpose": "search", "/versions/18/tables/0/rows/3/purpose": "search", "/versions/18/tables/0/rows/4/purpose": "search", "/versions/18/tables/0/rows/5/purpose": "search", "/versions/18/tables/0/rows/6/purpose": "search", "/versions/18/tables/0/rows/7/purpose": "search", "/versions/18/tables/0/rows/8/purpose": "search", "/versions/18/tables/0/rows/9/purpose": "search", "/versions/18/tables/2/rows/0/default": "yes", "/versions/18/tables/0/columns/0/label": "Operator overload", "/versions/18/tables/0/columns/1/label": "Strategy", "/versions/18/tables/0/columns/2/label": "Purpose", "/versions/18/tables/0/columns/3/label": "Ordering family", "/versions/18/tables/0/columns/4/label": "Membership scope", "/versions/18/tables/0/columns/5/label": "Source description", "/versions/18/tables/0/rows/10/purpose": "search", "/versions/18/tables/0/rows/11/purpose": "search", "/versions/18/tables/0/rows/12/purpose": "ordering", "/versions/18/tables/1/columns/0/label": "Support number", "/versions/18/tables/1/columns/1/label": "Left type", "/versions/18/tables/1/columns/2/label": "Right type", "/versions/18/tables/1/columns/3/label": "Function signature", "/versions/18/tables/1/columns/4/label": "Result type", "/versions/18/tables/2/columns/0/label": "Class", "/versions/18/tables/2/columns/1/label": "Input type", "/versions/18/tables/2/columns/2/label": "Key type", "/versions/18/tables/2/columns/3/label": "Default", "/versions/18/tables/2/rows/0/key_type": "Same as input type", "/versions/18/tables/0/rows/0/description": "is left of", "/versions/18/tables/0/rows/1/description": "overlaps or is left of", "/versions/18/tables/0/rows/2/description": "overlaps", "/versions/18/tables/0/rows/3/description": "overlaps or is right of", "/versions/18/tables/0/rows/4/description": "is right of", "/versions/18/tables/0/rows/5/description": "same as", "/versions/18/tables/0/rows/6/description": "contains", "/versions/18/tables/0/rows/7/description": "is contained by", "/versions/18/tables/0/rows/8/description": "overlaps or is below", "/versions/18/tables/0/rows/9/description": "is below", "/versions/18/tables/1/rows/2/result_type": "internal", "/versions/18/tables/1/rows/3/result_type": "internal", "/versions/18/tables/1/rows/4/result_type": "internal", "/versions/18/tables/0/rows/10/description": "is above", "/versions/18/tables/0/rows/11/description": "overlaps or is above", "/versions/18/tables/0/rows/12/description": "distance between"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "6d88196aad2c90eaf6662186d6c01b27da06993ea8870440581a36fae18c1f3b"}, "comparison_data": {"kind": "class", "classes": [{"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}], "operators": [{"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<(box,box)", "strategy": "1", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<<|(box,box)", "strategy": "10", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|>>(box,box)", "strategy": "11", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "|&>(box,box)", "strategy": "12", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<(box,box)", "strategy": "2", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&&(box,box)", "strategy": "3", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&>(box,box)", "strategy": "4", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": ">>(box,box)", "strategy": "5", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "~=(box,box)", "strategy": "6", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "@>(box,box)", "strategy": "7", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "<@(box,box)", "strategy": "8", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "search", "operator": "&<|(box,box)", "strategy": "9", "left_type": "box", "right_type": "box", "sort_family": ""}, {"family": "box_ops", "method": "gist", "purpose": "ordering", "operator": "<->(box,point)", "strategy": "15", "left_type": "box", "right_type": "point", "sort_family": "float_ops"}], "attributes": {"name": "box_ops", "family": "box_ops", "method": "gist", "default": "t", "key_type": "none", "input_type": "box"}, "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": "any", "right_type": "any", "result_type": "int2"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "result_type": "float8"}]}, "comparison_hash": "963576d31e87b8d9323ff1d77f12ed594acc12e900f860da24c1b5c85d2c6028", "support_functions": [{"family": "box_ops", "method": "gist", "number": "1", "function": "gist_box_consistent(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "bool"}, {"family": "box_ops", "method": "gist", "number": "2", "function": "gist_box_union(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "box"}, {"family": "box_ops", "method": "gist", "number": "5", "function": "gist_box_penalty(internal,internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "6", "function": "gist_box_picksplit(internal,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "7", "function": "gist_box_same(box,box,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "internal"}, {"family": "box_ops", "method": "gist", "number": "8", "function": "gist_box_distance(internal,box,int2,oid,internal)", "left_type": "box", "right_type": "box", "family_slug": "family-gist-box_ops", "result_type": "float8"}, {"family": "box_ops", "method": "gist", "number": "12", "function": "gist_translate_cmptype_common(int4)", "left_type": "any", "right_type": "any", "family_slug": "family-gist-box_ops", "result_type": "int2"}]}, "comparison": {"left": "13", "right": "14", "status": "changed", "diff": "--- PostgreSQL 13\n+++ PostgreSQL 14\n@@ -63,26 +63,6 @@\n       \"family\": \"box_ops\",\n       \"left_type\": \"box\",\n       \"method\": \"gist\",\n-      \"operator\": \"~(box,box)\",\n-      \"purpose\": \"search\",\n-      \"right_type\": \"box\",\n-      \"sort_family\": \"\",\n-      \"strategy\": \"13\"\n-    },\n-    {\n-      \"family\": \"box_ops\",\n-      \"left_type\": \"box\",\n-      \"method\": \"gist\",\n-      \"operator\": \"@(box,box)\",\n-      \"purpose\": \"search\",\n-      \"right_type\": \"box\",\n-      \"sort_family\": \"\",\n-      \"strategy\": \"14\"\n-    },\n-    {\n-      \"family\": \"box_ops\",\n-      \"left_type\": \"box\",\n-      \"method\": \"gist\",\n       \"operator\": \"&<(box,box)\",\n       \"purpose\": \"search\",\n       \"right_type\": \"box\","}}