[Groonga-commit] pgroonga/pgroonga at d52cfef [master] query_expand test: add missing expected

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jun 30 15:34:53 JST 2017


Kouhei Sutou	2017-06-30 15:34:53 +0900 (Fri, 30 Jun 2017)

  New Revision: d52cfef39e46478142e8f0ebf876f9c76a775b73
  https://github.com/pgroonga/pgroonga/commit/d52cfef39e46478142e8f0ebf876f9c76a775b73

  Message:
    query_expand test: add missing expected

  Modified files:
    expected/function/query-expand/hash-index.out

  Modified: expected/function/query-expand/hash-index.out (+14 -0)
===================================================================
--- expected/function/query-expand/hash-index.out    2017-06-30 15:33:32 +0900 (e69de29)
+++ expected/function/query-expand/hash-index.out    2017-06-30 15:34:53 +0900 (1709c2a)
@@ -0,0 +1,14 @@
+CREATE TABLE synonyms (
+  term text,
+  synonyms text[]
+);
+CREATE INDEX synonyms_term_index ON synonyms USING hash (term);
+WARNING:  hash indexes are not WAL-logged and their use is discouraged
+INSERT INTO synonyms VALUES ('Groonga', ARRAY['Groonga', 'Senna']);
+SELECT pgroonga.query_expand('synonyms', 'term', 'synonyms', 'Groonga');
+      query_expand      
+------------------------
+ ((Groonga) OR (Senna))
+(1 row)
+
+DROP TABLE synonyms;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index