@@ -29,7 +29,7 @@ idea of `RUM` by the following picture:
29
29
30
30
Drawback of ` RUM ` is that it has slower build and insert time than ` GIN ` .
31
31
It is because we need to store additional information besides keys and because
32
- ` RUM ` uses generic WAL.
32
+ ` RUM ` uses generic WAL records .
33
33
34
34
## License
35
35
@@ -150,7 +150,7 @@ numeric, timestamp, timestamptz
150
150
151
151
Supported operations: ` < ` , ` <= ` , ` = ` , ` >= ` , ` > ` for all types and
152
152
` <=> ` , ` <=| ` and ` |=> ` for int2, int4, int8, float4, float8, money, oid,
153
- timestamp and timestamptz types.
153
+ timestamp and timestamptz types.
154
154
155
155
Supports ordering by ` <=> ` , ` <=| ` and ` |=> ` operators. Can be used with
156
156
` rum_tsvector_addon_ops ` , ` rum_tsvector_hash_addon_ops' and ` rum_anyarray_addon_ops` operator classes.
@@ -176,7 +176,7 @@ Now we can execute the following queries:
176
176
``` sql
177
177
EXPLAIN (costs off)
178
178
SELECT id, d, d <=> ' 2016-05-16 14:21:25' FROM tsts WHERE t @@ ' wr&qh' ORDER BY d <=> ' 2016-05-16 14:21:25' LIMIT 5 ;
179
- QUERY PLAN
179
+ QUERY PLAN
180
180
-- ---------------------------------------------------------------------------------
181
181
Limit
182
182
- > Index Scan using tsts_idx on tsts
@@ -185,7 +185,7 @@ EXPLAIN (costs off)
185
185
(4 rows)
186
186
187
187
SELECT id, d, d <=> ' 2016-05-16 14:21:25' FROM tsts WHERE t @@ ' wr&qh' ORDER BY d <=> ' 2016-05-16 14:21:25' LIMIT 5 ;
188
- id | d | ?column?
188
+ id | d | ?column?
189
189
-- ---+---------------------------------+---------------
190
190
355 | Mon May 16 14 :21 :22 .326724 2016 | 2 .673276
191
191
354 | Mon May 16 13 :21 :22 .326724 2016 | 3602 .673276
@@ -225,7 +225,7 @@ Now we can execute the following fast query:
225
225
``` sql
226
226
SELECT * FROM query
227
227
WHERE to_tsvector(' black holes never exists before we think about them' ) @@ q;
228
- q | tag
228
+ q | tag
229
229
-- ----------------+-------
230
230
' black' | color
231
231
' black' & ' hole' | color
0 commit comments