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

Commit33b9c8b

Browse files
committed
Temporarily modify tsearch regression tests to suppress notice that comes
out at erratic times, because it is creating a totally unacceptable levelof noise in our buildfarm results. This patch can be reverted when and ifthe code is fixed to not issue notices during cache reload events.
1 parent7125687 commit33b9c8b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

‎src/backend/tsearch/thesaurus_sample.ths

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ two : *2
1414
supernovae stars : *sn
1515
supernovae : *sn
1616
booking tickets : order invitation cards
17-
booking the tickets : order invitation Cards
18-
17+
# booking the tickets : order invitation Cards

‎src/test/regress/expected/tsdicts.out

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus (
216216
DictFile=thesaurus_sample,
217217
Dictionary=english_stem
218218
);
219-
NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
220219
SELECT ts_lexize('thesaurus', 'one');
221-
NOTICE: thesaurus word-sample "the" is recognized as stop-word, assign any stop-word (rule 8)
222220
ts_lexize
223221
-----------
224222
{1}
@@ -313,8 +311,8 @@ SELECT to_tsvector('thesaurus_tst', 'Supernovae star is very new star and usuall
313311
(1 row)
314312

315313
SELECT to_tsvector('thesaurus_tst', 'Booking tickets is looking like a booking a tickets');
316-
to_tsvector
317-
-------------------------------------------------------
318-
'card':3,10 'like':6 'look':5 'invit':2,9 'order':1,8
314+
to_tsvector
315+
---------------------------------------------------------------------
316+
'book':8 'card':3 'like':6 'look':5 'invit':2 'order':1 'ticket':10
319317
(1 row)
320318

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp