[Groonga-commit] groonga/groonga at ccfcc66 [master] query_expand test: add a test for flags

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 28 17:28:11 JST 2016


Kouhei Sutou	2016-12-28 17:28:11 +0900 (Wed, 28 Dec 2016)

  New Revision: ccfcc66dd6df9808d027f48c527585236e389975
  https://github.com/groonga/groonga/commit/ccfcc66dd6df9808d027f48c527585236e389975

  Message:
    query_expand test: add a test for flags

  Added files:
    test/command/suite/query_expand/flags.expected
    test/command/suite/query_expand/flags.test

  Added: test/command/suite/query_expand/flags.expected (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/query_expand/flags.expected    2016-12-28 17:28:11 +0900 (5834d97)
@@ -0,0 +1,4 @@
+plugin_register "query_expanders/tsv"
+[[0,0.0,0.0],true]
+query_expand QueryExpanderTSV "rroonga column:rroonga" NONE
+[[0,0.0,0.0],"((rroonga) OR (Ruby groonga)) column:rroonga"]

  Added: test/command/suite/query_expand/flags.test (+5 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/query_expand/flags.test    2016-12-28 17:28:11 +0900 (efdebb6)
@@ -0,0 +1,5 @@
+#$GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=#{base_directory}/tmp/synonyms.tsv
+#@copy-path fixture/query_expander/tsv/expand.tsv tmp/synonyms.tsv
+plugin_register "query_expanders/tsv"
+
+query_expand QueryExpanderTSV "rroonga column:rroonga" NONE
-------------- next part --------------
HTML����������������������������...
Descargar 



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