[Groonga-commit] groonga/groonga at 9ae34e1 [master] column_list: support weight vector column

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 17 15:42:25 JST 2014


Kouhei Sutou	2014-03-17 15:42:25 +0900 (Mon, 17 Mar 2014)

  New Revision: 9ae34e1be0c1a3e433fa7f4b3caaed332b00f883
  https://github.com/groonga/groonga/commit/9ae34e1be0c1a3e433fa7f4b3caaed332b00f883

  Message:
    column_list: support weight vector column

  Added files:
    test/command/suite/column_list/vector_column/with_weight.expected
    test/command/suite/column_list/vector_column/with_weight.test

  Added: test/command/suite/column_list/vector_column/with_weight.expected (+72 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/column_list/vector_column/with_weight.expected    2014-03-17 15:42:25 +0900 (f4460fe)
@@ -0,0 +1,72 @@
+table_create Bookmarks TABLE_HASH_KEY ShortText
+[[0,0.0,0.0],true]
+column_create Bookmarks tags COLUMN_VECTOR|WITH_WEIGHT ShortText
+[[0,0.0,0.0],true]
+column_list Bookmarks
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
+        "ShortText"
+      ],
+      [
+        "path",
+        "ShortText"
+      ],
+      [
+        "type",
+        "ShortText"
+      ],
+      [
+        "flags",
+        "ShortText"
+      ],
+      [
+        "domain",
+        "ShortText"
+      ],
+      [
+        "range",
+        "ShortText"
+      ],
+      [
+        "source",
+        "ShortText"
+      ]
+    ],
+    [
+      256,
+      "_key",
+      "",
+      "",
+      "COLUMN_SCALAR",
+      "Bookmarks",
+      "ShortText",
+      [
+
+      ]
+    ],
+    [
+      257,
+      "tags",
+      "db/db.0000101",
+      "var",
+      "COLUMN_VECTOR|WITH_WEIGHT|PERSISTENT",
+      "Bookmarks",
+      "ShortText",
+      [
+
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/column_list/vector_column/with_weight.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/column_list/vector_column/with_weight.test    2014-03-17 15:42:25 +0900 (55e89ae)
@@ -0,0 +1,4 @@
+table_create Bookmarks TABLE_HASH_KEY ShortText
+column_create Bookmarks tags COLUMN_VECTOR|WITH_WEIGHT ShortText
+
+column_list Bookmarks
-------------- next part --------------
HTML����������������������������...
다운로드 



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