Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6838aa2

Browse files
committed
Update README. Add information about array ops.
1 parent508dcfb commit6838aa2

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

‎README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Typical installation procedure may look like this:
5959
| timestamp<=| timestamp | float8 | Returns distance only for left timestamps.
6060
| timestamp|=> timestamp | float8 | Returns distance only for right timestamps.
6161

62-
Last three operations also works for types int2, int4, int8, float4, float8,
62+
Last three operations also works for typestimestamptz,int2, int4, int8, float4, float8,
6363
money and oid.
6464

6565
##Operator classes
@@ -142,7 +142,7 @@ Supported operations: `<`, `<=`, `=`, `>=`, `>` for all types and
142142
timestamp and timestamptz types.
143143

144144
Supports ordering by`<=>`,`<=|` and`|=>` operators. Can be used with
145-
`rum_tsvector_addon_ops`operatorclass.
145+
`rum_tsvector_addon_ops`,`rum_tsvector_hash_addon_ops' and`rum_anyarray_addon_ops`operatorclasses.
146146

147147
###rum_tsvector_addon_ops
148148

@@ -221,10 +221,23 @@ SELECT * FROM query
221221
(2 rows)
222222
```
223223

224+
###rum_anyarray_ops
225+
226+
For type:`anyarray`
227+
228+
This operator class stores`anyarrray` elements with length of the array.
229+
Supports operators`&&`,`@>`,`<@`,`=`,`%` operators. Supports ordering by`<=>` operator.
230+
231+
###rum_anyarray_addon_ops
232+
233+
For type:`anyarray`
234+
235+
This operator class stores`anyarrray` elements with any supported by module
236+
field.
237+
224238
##Todo
225239

226240
- Allow multiple additional information (lexemes positions + timestamp).
227-
- Add support for arrays.
228241
- Improve ranking function to support TF/IDF.
229242
- Improve insert time.
230243
- Improve GENERIC WAL to support shift (PostgreSQL core changes).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp