Fix alternate expected output file for the testcase 'tsearch'
authorPavan Deolasee <pavan.deolasee@gmail.com>
Wed, 10 Jun 2015 11:01:32 +0000 (16:31 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Wed, 10 Jun 2015 11:01:32 +0000 (16:31 +0530)
src/test/regress/expected/tsearch_2.out

index 776ba9dba4ac0542bb005c0d72fb2c9b339fc803..e6531860e760e358d40dd3f77f3224def992dcae 100644 (file)
@@ -596,6 +596,20 @@ S. T. Coleridge (1772-1834)
         0.1
 (1 row)
 
+SELECT ts_rank_cd(strip(to_tsvector('both stripped')),
+                  to_tsquery('both & stripped'));
+ ts_rank_cd 
+------------
+          0
+(1 row)
+
+SELECT ts_rank_cd(to_tsvector('unstripped') || strip(to_tsvector('stripped')),
+                  to_tsquery('unstripped & stripped'));
+ ts_rank_cd 
+------------
+          0
+(1 row)
+
 --headline tests
 SELECT ts_headline('english', '
 Day after day, day after day,