Skip to content

Commit 10e2ea6

Browse files
committed
Issue #20. Fix README.md. That README show result of ts_rank() function.
Current version of RUM uses another function.
1 parent 089a1bb commit 10e2ea6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,21 @@ SELECT t, a <=> to_tsquery('english', 'beautiful | place') AS rank
106106
FROM test_rum
107107
WHERE a @@ to_tsquery('english', 'beautiful | place')
108108
ORDER BY a <=> to_tsquery('english', 'beautiful | place');
109-
t | rank
110-
---------------------------------+-----------
111-
The situation is most beautiful | 0.0303964
112-
It is a beautiful | 0.0303964
113-
It looks like a beautiful place | 0.0607927
109+
t | rank
110+
---------------------------------+---------
111+
It looks like a beautiful place | 8.22467
112+
The situation is most beautiful | 16.4493
113+
It is a beautiful | 16.4493
114114
(3 rows)
115115

116116
SELECT t, a <=> to_tsquery('english', 'place | situation') AS rank
117117
FROM test_rum
118118
WHERE a @@ to_tsquery('english', 'place | situation')
119119
ORDER BY a <=> to_tsquery('english', 'place | situation');
120-
t | rank
121-
---------------------------------+-----------
122-
The situation is most beautiful | 0.0303964
123-
It looks like a beautiful place | 0.0303964
120+
t | rank
121+
---------------------------------+---------
122+
The situation is most beautiful | 16.4493
123+
It looks like a beautiful place | 16.4493
124124
(2 rows)
125125
```
126126

0 commit comments

Comments
 (0)