@@ -59,7 +59,7 @@ Typical installation procedure may look like this:
59
59
| timestamp < ; =| ; timestamp | float8 | Returns distance only for left timestamps.
60
60
| timestamp | ; => ; timestamp | float8 | Returns distance only for right timestamps.
61
61
62
- Last three operations also works for types int2, int4, int8, float4, float8,
62
+ Last three operations also works for types timestamptz, int2, int4, int8, float4, float8,
63
63
money and oid.
64
64
65
65
## Operator classes
@@ -142,7 +142,7 @@ Supported operations: `<`, `<=`, `=`, `>=`, `>` for all types and
142
142
timestamp and timestamptz types.
143
143
144
144
Supports ordering by ` <=> ` , ` <=| ` and ` |=> ` operators. Can be used with
145
- ` rum_tsvector_addon_ops ` operator class .
145
+ ` rum_tsvector_addon_ops ` , ` rum_tsvector_hash_addon_ops' and ` rum_anyarray_addon_ops` operator classes .
146
146
147
147
### rum_tsvector_addon_ops
148
148
@@ -221,10 +221,23 @@ SELECT * FROM query
221
221
(2 rows)
222
222
```
223
223
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
+
224
238
## Todo
225
239
226
240
- Allow multiple additional information (lexemes positions + timestamp).
227
- - Add support for arrays.
228
241
- Improve ranking function to support TF/IDF.
229
242
- Improve insert time.
230
243
- Improve GENERIC WAL to support shift (PostgreSQL core changes).
0 commit comments