[Groonga-commit] groonga/groonga at 7937421 [master] test regexp: add a test for no normalizer reference vector

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Sep 8 11:48:17 JST 2015


Kouhei Sutou	2015-09-08 11:48:17 +0900 (Tue, 08 Sep 2015)

  New Revision: 793742154e3c4e05e8ba85933e7732008af36f17
  https://github.com/groonga/groonga/commit/793742154e3c4e05e8ba85933e7732008af36f17

  Message:
    test regexp: add a test for no normalizer reference vector

  Added files:
    test/command/suite/select/filter/no_index/regexp/reference.expected
    test/command/suite/select/filter/no_index/regexp/reference.test

  Added: test/command/suite/select/filter/no_index/regexp/reference.expected (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/no_index/regexp/reference.expected    2015-09-08 11:48:17 +0900 (63a395d)
@@ -0,0 +1,14 @@
+table_create Products TABLE_PAT_KEY ShortText
+[[0,0.0,0.0],true]
+table_create Memos TABLE_NO_KEY
+[[0,0.0,0.0],true]
+column_create Memos product COLUMN_SCALAR Products
+[[0,0.0,0.0],true]
+load --table Memos
+[
+{"product": "Groonga"},
+{"product": "Mroonga"}
+]
+[[0,0.0,0.0],2]
+select Memos --filter 'product @~ "\\\\Agr"'
+[[0,0.0,0.0],[[[1],[["_id","UInt32"],["product","Products"]],[1,"Groonga"]]]]

  Added: test/command/suite/select/filter/no_index/regexp/reference.test (+12 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/no_index/regexp/reference.test    2015-09-08 11:48:17 +0900 (1b3ed0d)
@@ -0,0 +1,12 @@
+table_create Products TABLE_PAT_KEY ShortText
+
+table_create Memos TABLE_NO_KEY
+column_create Memos product COLUMN_SCALAR Products
+
+load --table Memos
+[
+{"product": "Groonga"},
+{"product": "Mroonga"}
+]
+
+select Memos --filter 'product @~ "\\\\Agr"'
-------------- next part --------------
HTML����������������������������...
다운로드 



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