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

Commit0508b96

Browse files
committed
Issue#19. Fix README.md. In that old README ts_rank() was used.
Current version of RUM uses another function.
1 parent089a1bb commit0508b96

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎README.md

Lines changed: 9 additions & 9 deletions
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-
Itisa beautiful |0.0303964
113-
Itlookslikea beautifulplace |0.0607927
109+
t | rank
110+
---------------------------------+---------
111+
It lookslike a beautifulplace |8.22467
112+
The situationismost beautiful|16.4493
113+
Itisa 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 lookslike a beautiful place |0.0303964
120+
t | rank
121+
---------------------------------+---------
122+
The situation is most beautiful |16.4493
123+
It lookslike a beautiful place |16.4493
124124
(2 rows)
125125
```
126126

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp