droonga-engine 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.travis.yml +3 -0
  4. data/Gemfile +7 -0
  5. data/Rakefile +6 -2
  6. data/bin/droonga-engine +2 -2
  7. data/bin/{droonga-catalog-generate → droonga-engine-catalog-generate} +15 -3
  8. data/bin/droonga-engine-serf-event-handler +20 -0
  9. data/bin/droonga-engine-service +2 -2
  10. data/doc/text/news.md +21 -1
  11. data/droonga-engine.gemspec +5 -2
  12. data/lib/droonga/catalog/collection_volume.rb +12 -0
  13. data/lib/droonga/catalog/dataset.rb +25 -0
  14. data/lib/droonga/catalog/single_volume.rb +10 -0
  15. data/lib/droonga/catalog/slice.rb +4 -0
  16. data/lib/droonga/catalog/version1.rb +59 -48
  17. data/lib/droonga/catalog/version2.rb +10 -20
  18. data/lib/droonga/catalog/volume_collection.rb +27 -4
  19. data/lib/droonga/catalog_generator.rb +12 -5
  20. data/lib/droonga/catalog_observer.rb +17 -35
  21. data/lib/droonga/command/droonga_engine.rb +436 -0
  22. data/lib/droonga/command/droonga_engine_service.rb +273 -0
  23. data/lib/droonga/command/serf_event_handler.rb +85 -0
  24. data/lib/droonga/dispatcher.rb +8 -8
  25. data/lib/droonga/engine.rb +90 -26
  26. data/lib/droonga/engine/version.rb +1 -1
  27. data/lib/droonga/engine_state.rb +29 -3
  28. data/lib/droonga/internal_fluent_message_receiver.rb +100 -0
  29. data/lib/droonga/live_nodes_list_loader.rb +48 -0
  30. data/lib/droonga/live_nodes_list_observer.rb +72 -0
  31. data/lib/droonga/path.rb +47 -0
  32. data/lib/droonga/plugins/dump.rb +279 -38
  33. data/lib/droonga/plugins/groonga/select.rb +26 -14
  34. data/lib/droonga/plugins/search.rb +30 -2
  35. data/lib/droonga/plugins/search/distributed_search_planner.rb +28 -11
  36. data/lib/droonga/processor.rb +4 -0
  37. data/lib/droonga/searcher.rb +26 -0
  38. data/lib/droonga/serf.rb +119 -0
  39. data/lib/droonga/serf_downloader.rb +90 -0
  40. data/lib/droonga/server.rb +2 -2
  41. data/lib/droonga/service_control_protocol.rb +26 -0
  42. data/sample/cluster/catalog.json +1 -1
  43. data/test/command/config/default/catalog.json +2 -2
  44. data/test/command/config/version1/catalog.json +1 -1
  45. data/test/command/fixture/documents.jsons +18 -18
  46. data/test/command/fixture/event.jsons +4 -4
  47. data/test/command/fixture/user-table-array.jsons +4 -4
  48. data/test/command/fixture/user-table.jsons +5 -5
  49. data/test/command/suite/add/dimension/column.catalog.json +1 -1
  50. data/test/command/suite/add/dimension/column.test +4 -4
  51. data/test/command/suite/add/dimension/integer.catalog.json +1 -1
  52. data/test/command/suite/add/dimension/integer.test +4 -4
  53. data/test/command/suite/add/error/invalid-integer.test +1 -1
  54. data/test/command/suite/add/error/invalid-time.test +1 -1
  55. data/test/command/suite/add/error/missing-key.test +1 -1
  56. data/test/command/suite/add/error/missing-table.test +1 -1
  57. data/test/command/suite/add/error/unknown-column.test +1 -1
  58. data/test/command/suite/add/error/unknown-table.test +1 -1
  59. data/test/command/suite/add/minimum.test +1 -1
  60. data/test/command/suite/add/vector/short_text.catalog.json +26 -0
  61. data/test/command/suite/add/vector/short_text.expected +42 -0
  62. data/test/command/suite/add/vector/short_text.test +35 -0
  63. data/test/command/suite/add/with-values.test +1 -1
  64. data/test/command/suite/add/without-key.test +1 -1
  65. data/test/command/suite/dump/column/index.catalog.json +40 -0
  66. data/test/command/suite/dump/column/index.expected +195 -0
  67. data/test/command/suite/dump/column/index.test +5 -0
  68. data/test/command/suite/dump/column/scalar.catalog.json +19 -0
  69. data/test/command/suite/dump/column/scalar.expected +99 -0
  70. data/test/command/suite/dump/column/scalar.test +5 -0
  71. data/test/command/suite/dump/column/vector.catalog.json +22 -0
  72. data/test/command/suite/dump/column/vector.expected +108 -0
  73. data/test/command/suite/dump/column/vector.test +5 -0
  74. data/test/command/suite/dump/record/vector/reference.catalog.json +27 -0
  75. data/test/command/suite/dump/record/vector/reference.expected +213 -0
  76. data/test/command/suite/dump/record/vector/reference.test +21 -0
  77. data/test/command/suite/dump/table/array.catalog.json +13 -0
  78. data/test/command/suite/dump/table/array.expected +63 -0
  79. data/test/command/suite/dump/table/array.test +5 -0
  80. data/test/command/suite/dump/table/double_array_trie.catalog.json +14 -0
  81. data/test/command/suite/dump/table/double_array_trie.expected +66 -0
  82. data/test/command/suite/dump/table/double_array_trie.test +5 -0
  83. data/test/command/suite/dump/table/hash.catalog.json +14 -0
  84. data/test/command/suite/dump/table/hash.expected +66 -0
  85. data/test/command/suite/dump/table/hash.test +5 -0
  86. data/test/command/suite/dump/table/patricia_trie.catalog.json +14 -0
  87. data/test/command/suite/dump/table/patricia_trie.expected +66 -0
  88. data/test/command/suite/dump/table/patricia_trie.test +5 -0
  89. data/test/command/suite/groonga/column_create/scalar.test +2 -2
  90. data/test/command/suite/groonga/column_create/unknown-table.test +1 -1
  91. data/test/command/suite/groonga/column_create/vector.test +2 -2
  92. data/test/command/suite/groonga/column_list/success.test +3 -3
  93. data/test/command/suite/groonga/column_list/unknown-table.test +1 -1
  94. data/test/command/suite/groonga/column_remove/success.test +3 -3
  95. data/test/command/suite/groonga/column_remove/unknown-column.test +2 -2
  96. data/test/command/suite/groonga/column_remove/unknown-table.test +1 -1
  97. data/test/command/suite/groonga/column_rename/success.test +3 -3
  98. data/test/command/suite/groonga/column_rename/unknown-column.test +2 -2
  99. data/test/command/suite/groonga/column_rename/unknown-table.test +1 -1
  100. data/test/command/suite/groonga/delete/duplicated-identifiers.test +2 -2
  101. data/test/command/suite/groonga/delete/filter.test +2 -2
  102. data/test/command/suite/groonga/delete/invalid-filter.test +1 -1
  103. data/test/command/suite/groonga/delete/no-identifier.test +2 -2
  104. data/test/command/suite/groonga/delete/success.test +2 -2
  105. data/test/command/suite/groonga/delete/unknown-table.test +1 -1
  106. data/test/command/suite/groonga/select/minimum.expected +24 -1
  107. data/test/command/suite/groonga/select/minimum.test +1 -1
  108. data/test/command/suite/groonga/select/type/time.catalog.json +19 -0
  109. data/test/command/suite/groonga/select/type/time.expected +37 -0
  110. data/test/command/suite/groonga/select/type/time.test +35 -0
  111. data/test/command/suite/groonga/table_create/array.test +1 -1
  112. data/test/command/suite/groonga/table_create/hash.test +1 -1
  113. data/test/command/suite/groonga/table_list/success.test +2 -2
  114. data/test/command/suite/groonga/table_remove/success.test +1 -1
  115. data/test/command/suite/groonga/table_remove/unknown-table.test +1 -1
  116. data/test/command/suite/message/error/unknown-type.expected +1 -1
  117. data/test/command/suite/message/error/unknown-type.test +1 -1
  118. data/test/command/suite/search/adjusters/multiple.catalog.json +1 -1
  119. data/test/command/suite/search/adjusters/multiple.test +3 -3
  120. data/test/command/suite/search/adjusters/one.catalog.json +1 -1
  121. data/test/command/suite/search/adjusters/one.test +3 -3
  122. data/test/command/suite/search/attributes/array.expected +7 -0
  123. data/test/command/suite/search/attributes/array.test +1 -1
  124. data/test/command/suite/search/attributes/hash.expected +18 -0
  125. data/test/command/suite/search/attributes/hash.test +1 -1
  126. data/test/command/suite/search/complex.expected +12 -0
  127. data/test/command/suite/search/complex.test +1 -1
  128. data/test/command/suite/search/condition/nested.catalog.json +37 -0
  129. data/test/command/suite/search/condition/nested.expected +7 -0
  130. data/test/command/suite/search/condition/nested.test +103 -2
  131. data/test/command/suite/search/condition/query.catalog.json +37 -0
  132. data/test/command/suite/search/condition/query.expected +7 -0
  133. data/test/command/suite/search/condition/query.test +103 -2
  134. data/test/command/suite/search/condition/query/nonexistent_column.catalog.json +1 -1
  135. data/test/command/suite/search/condition/query/nonexistent_column.test +2 -2
  136. data/test/command/suite/search/condition/query/syntax_error.catalog.json +1 -1
  137. data/test/command/suite/search/condition/query/syntax_error.test +2 -2
  138. data/test/command/suite/search/condition/script.catalog.json +37 -0
  139. data/test/command/suite/search/condition/script.expected +7 -0
  140. data/test/command/suite/search/condition/script.test +103 -2
  141. data/test/command/suite/search/error/cyclic-source.test +1 -1
  142. data/test/command/suite/search/error/deeply-cyclic-source.test +1 -1
  143. data/test/command/suite/search/error/missing-source-parameter.test +1 -1
  144. data/test/command/suite/search/error/no-query.test +1 -1
  145. data/test/command/suite/search/error/unknown-source.test +1 -1
  146. data/test/command/suite/search/group/count.test +1 -1
  147. data/test/command/suite/search/group/limit.test +1 -1
  148. data/test/command/suite/search/group/string.catalog.json +41 -0
  149. data/test/command/suite/search/group/string.expected +18 -18
  150. data/test/command/suite/search/group/string.test +67 -22
  151. data/test/command/suite/search/group/subrecord/with-sort.catalog.json +1 -1
  152. data/test/command/suite/search/group/subrecord/with-sort.test +5 -5
  153. data/test/command/suite/search/multiple/chained.catalog.json +37 -0
  154. data/test/command/suite/search/multiple/chained.expected +14 -0
  155. data/test/command/suite/search/multiple/chained.test +103 -2
  156. data/test/command/suite/search/multiple/parallel.expected +14 -0
  157. data/test/command/suite/search/multiple/parallel.test +1 -1
  158. data/test/command/suite/search/output/attributes/invalid.catalog.json +1 -1
  159. data/test/command/suite/search/output/attributes/invalid.test +2 -2
  160. data/test/command/suite/search/output/attributes/star.catalog.json +23 -0
  161. data/test/command/suite/search/output/attributes/star.expected +27 -0
  162. data/test/command/suite/search/output/attributes/star.test +32 -0
  163. data/test/command/suite/search/range/only-output.expected +7 -0
  164. data/test/command/suite/search/range/only-output.test +1 -1
  165. data/test/command/suite/search/range/only-sort.expected +7 -0
  166. data/test/command/suite/search/range/only-sort.test +1 -1
  167. data/test/command/suite/search/range/sort-and-output.expected +7 -0
  168. data/test/command/suite/search/range/sort-and-output.test +1 -1
  169. data/test/command/suite/search/range/too-large-output-offset.expected +8 -0
  170. data/test/command/suite/search/range/too-large-output-offset.test +1 -1
  171. data/test/command/suite/search/range/too-large-sort-offset.expected +8 -0
  172. data/test/command/suite/search/range/too-large-sort-offset.test +1 -1
  173. data/test/command/suite/search/response/elapsed_time.catalog.json +1 -1
  174. data/test/command/suite/search/response/elapsed_time.test +2 -2
  175. data/test/command/suite/search/response/records/value/time.expected +12 -0
  176. data/test/command/suite/search/response/records/value/time.test +1 -1
  177. data/test/command/suite/search/simple.expected +12 -0
  178. data/test/command/suite/search/simple.test +1 -1
  179. data/test/command/suite/search/sort/default-offset-limit.expected +7 -0
  180. data/test/command/suite/search/sort/default-offset-limit.test +1 -1
  181. data/test/command/suite/search/sort/invisible-column.expected +7 -0
  182. data/test/command/suite/search/sort/invisible-column.test +1 -1
  183. data/test/unit/catalog/test_collection_volume.rb +16 -0
  184. data/test/unit/catalog/test_dataset.rb +36 -0
  185. data/test/unit/catalog/test_single_volume.rb +9 -0
  186. data/test/unit/catalog/test_slice.rb +11 -0
  187. data/test/unit/catalog/test_version1.rb +7 -12
  188. data/test/unit/catalog/test_version2.rb +7 -0
  189. data/test/unit/catalog/test_volume_collection.rb +28 -0
  190. data/test/unit/fixtures/catalog/version1.json +10 -3
  191. data/test/unit/fixtures/catalog/version2.json +2 -2
  192. data/test/unit/plugins/groonga/select/test_adapter_output.rb +8 -14
  193. data/test/unit/plugins/groonga/test_column_create.rb +5 -5
  194. data/test/unit/plugins/groonga/test_column_remove.rb +2 -2
  195. data/test/unit/plugins/groonga/test_column_rename.rb +2 -2
  196. data/test/unit/plugins/groonga/test_delete.rb +2 -2
  197. data/test/unit/plugins/groonga/test_table_create.rb +9 -9
  198. data/test/unit/plugins/groonga/test_table_remove.rb +1 -1
  199. data/test/unit/test_catalog_generator.rb +1 -1
  200. data/test/unit/test_schema_applier.rb +2 -2
  201. data/test/unit/test_watch_schema.rb +4 -4
  202. metadata +241 -72
  203. data/lib/droonga/engine/command/droonga_engine.rb +0 -441
@@ -31,9 +31,9 @@ module Droonga
31
31
  Droonga.logger.trace("#{log_tag}: after_run: done")
32
32
  end
33
33
 
34
- def stop(stop_graceful)
34
+ def stop(stop_gracefully)
35
35
  Droonga.logger.trace("#{log_tag}: stop: start")
36
- super(stop_graceful)
36
+ super(stop_gracefully)
37
37
  Droonga.logger.trace("#{log_tag}: stop: done")
38
38
  end
39
39
 
@@ -0,0 +1,26 @@
1
+ # Copyright (C) 2014 Droonga Project
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License version 2.1 as published by the Free Software Foundation.
6
+ #
7
+ # This library is distributed in the hope that it will be useful,
8
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
9
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10
+ # Lesser General Public License for more details.
11
+ #
12
+ # You should have received a copy of the GNU Lesser General Public
13
+ # License along with this library; if not, write to the Free Software
14
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
+
16
+ module Droonga
17
+ module ServiceControlProtocol
18
+ module Messages
19
+ STOP_GRACEFUL = "stop-graceful\n"
20
+ STOP_IMMEDIATELY = "stop-immediately\n"
21
+
22
+ READY = "ready\n"
23
+ FINISH = "finish\n"
24
+ end
25
+ end
26
+ end
@@ -2,7 +2,7 @@
2
2
  "version": 2,
3
3
  "effectiveDate": "2013-09-01T00:00:00Z",
4
4
  "datasets": {
5
- "Droonga": {
5
+ "Default": {
6
6
  "nWorkers": 2,
7
7
  "plugins": ["groonga", "search", "crud"],
8
8
  "schema": {
@@ -2,9 +2,9 @@
2
2
  "version": 2,
3
3
  "effectiveDate": "2014-02-28T00:00:00Z",
4
4
  "datasets": {
5
- "Droonga": {
5
+ "Default": {
6
6
  "nWorkers": 4,
7
- "plugins": ["groonga", "crud", "search"],
7
+ "plugins": ["groonga", "crud", "search", "dump"],
8
8
  "replicas": [
9
9
  {
10
10
  "dimension": "_key",
@@ -9,7 +9,7 @@
9
9
  }
10
10
  },
11
11
  "datasets": {
12
- "Droonga": {
12
+ "Default": {
13
13
  "workers": 4,
14
14
  "plugins": ["groonga", "crud", "search"],
15
15
  "number_of_replicas": 2,
@@ -1,6 +1,6 @@
1
1
  #@disable-logging
2
2
  {
3
- "dataset": "Droonga",
3
+ "dataset": "Default",
4
4
  "type": "table_create",
5
5
  "body": {
6
6
  "default_tokenizer": "TokenBigram",
@@ -11,7 +11,7 @@
11
11
  }
12
12
  }
13
13
  {
14
- "dataset": "Droonga",
14
+ "dataset": "Default",
15
15
  "type": "table_create",
16
16
  "body": {
17
17
  "name": "Documents",
@@ -20,7 +20,7 @@
20
20
  }
21
21
  }
22
22
  {
23
- "dataset": "Droonga",
23
+ "dataset": "Default",
24
24
  "type": "table_create",
25
25
  "body": {
26
26
  "name": "Sections",
@@ -29,7 +29,7 @@
29
29
  }
30
30
  }
31
31
  {
32
- "dataset": "Droonga",
32
+ "dataset": "Default",
33
33
  "type": "column_create",
34
34
  "body": {
35
35
  "table": "Sections",
@@ -39,7 +39,7 @@
39
39
  }
40
40
  }
41
41
  {
42
- "dataset": "Droonga",
42
+ "dataset": "Default",
43
43
  "type": "column_create",
44
44
  "body": {
45
45
  "table": "Sections",
@@ -49,7 +49,7 @@
49
49
  }
50
50
  }
51
51
  {
52
- "dataset": "Droonga",
52
+ "dataset": "Default",
53
53
  "type": "column_create",
54
54
  "body": {
55
55
  "table": "Sections",
@@ -59,7 +59,7 @@
59
59
  }
60
60
  }
61
61
  {
62
- "dataset": "Droonga",
62
+ "dataset": "Default",
63
63
  "type": "column_create",
64
64
  "body": {
65
65
  "table": "Bigram",
@@ -70,7 +70,7 @@
70
70
  }
71
71
  }
72
72
  {
73
- "dataset": "Droonga",
73
+ "dataset": "Default",
74
74
  "type": "column_create",
75
75
  "body": {
76
76
  "table": "Bigram",
@@ -81,7 +81,7 @@
81
81
  }
82
82
  }
83
83
  {
84
- "dataset": "Droonga",
84
+ "dataset": "Default",
85
85
  "type": "add",
86
86
  "body": {
87
87
  "table": "Documents",
@@ -89,7 +89,7 @@
89
89
  }
90
90
  }
91
91
  {
92
- "dataset": "Droonga",
92
+ "dataset": "Default",
93
93
  "type": "add",
94
94
  "body": {
95
95
  "table": "Sections",
@@ -102,7 +102,7 @@
102
102
  }
103
103
  }
104
104
  {
105
- "dataset": "Droonga",
105
+ "dataset": "Default",
106
106
  "type": "add",
107
107
  "body": {
108
108
  "table": "Sections",
@@ -115,7 +115,7 @@
115
115
  }
116
116
  }
117
117
  {
118
- "dataset": "Droonga",
118
+ "dataset": "Default",
119
119
  "type": "add",
120
120
  "body": {
121
121
  "table": "Sections",
@@ -128,7 +128,7 @@
128
128
  }
129
129
  }
130
130
  {
131
- "dataset": "Droonga",
131
+ "dataset": "Default",
132
132
  "type": "add",
133
133
  "body": {
134
134
  "table": "Sections",
@@ -141,7 +141,7 @@
141
141
  }
142
142
  }
143
143
  {
144
- "dataset": "Droonga",
144
+ "dataset": "Default",
145
145
  "type": "add",
146
146
  "body": {
147
147
  "table": "Sections",
@@ -154,7 +154,7 @@
154
154
  }
155
155
  }
156
156
  {
157
- "dataset": "Droonga",
157
+ "dataset": "Default",
158
158
  "type": "add",
159
159
  "body": {
160
160
  "table": "Sections",
@@ -167,7 +167,7 @@
167
167
  }
168
168
  }
169
169
  {
170
- "dataset": "Droonga",
170
+ "dataset": "Default",
171
171
  "type": "add",
172
172
  "body": {
173
173
  "table": "Sections",
@@ -180,7 +180,7 @@
180
180
  }
181
181
  }
182
182
  {
183
- "dataset": "Droonga",
183
+ "dataset": "Default",
184
184
  "type": "add",
185
185
  "body": {
186
186
  "table": "Sections",
@@ -193,7 +193,7 @@
193
193
  }
194
194
  }
195
195
  {
196
- "dataset": "Droonga",
196
+ "dataset": "Default",
197
197
  "type": "add",
198
198
  "body": {
199
199
  "table": "Sections",
@@ -1,7 +1,7 @@
1
1
  #@disable-logging
2
2
  {
3
3
  "type": "table_create",
4
- "dataset": "Droonga",
4
+ "dataset": "Default",
5
5
  "body": {
6
6
  "name" : "Event",
7
7
  "flags" : "TABLE_HASH_KEY"
@@ -9,7 +9,7 @@
9
9
  }
10
10
  {
11
11
  "type": "column_create",
12
- "dataset": "Droonga",
12
+ "dataset": "Default",
13
13
  "body": {
14
14
  "table" : "Event",
15
15
  "name" : "start",
@@ -17,7 +17,7 @@
17
17
  }
18
18
  }
19
19
  {
20
- "dataset": "Droonga",
20
+ "dataset": "Default",
21
21
  "type": "add",
22
22
  "body": {
23
23
  "table": "Event",
@@ -28,7 +28,7 @@
28
28
  }
29
29
  }
30
30
  {
31
- "dataset": "Droonga",
31
+ "dataset": "Default",
32
32
  "type": "add",
33
33
  "body": {
34
34
  "table": "Event",
@@ -1,7 +1,7 @@
1
1
  #@disable-logging
2
2
  {
3
3
  "type": "table_create",
4
- "dataset": "Droonga",
4
+ "dataset": "Default",
5
5
  "body": {
6
6
  "name" : "User",
7
7
  "flags" : "TABLE_NO_KEY"
@@ -9,7 +9,7 @@
9
9
  }
10
10
  {
11
11
  "type": "column_create",
12
- "dataset": "Droonga",
12
+ "dataset": "Default",
13
13
  "body": {
14
14
  "table" : "User",
15
15
  "name" : "name",
@@ -18,7 +18,7 @@
18
18
  }
19
19
  {
20
20
  "type": "column_create",
21
- "dataset": "Droonga",
21
+ "dataset": "Default",
22
22
  "body": {
23
23
  "table" : "User",
24
24
  "name" : "age",
@@ -27,7 +27,7 @@
27
27
  }
28
28
  {
29
29
  "type": "column_create",
30
- "dataset": "Droonga",
30
+ "dataset": "Default",
31
31
  "body": {
32
32
  "table" : "User",
33
33
  "name" : "email",
@@ -1,7 +1,7 @@
1
1
  #@disable-logging
2
2
  {
3
3
  "type": "table_create",
4
- "dataset": "Droonga",
4
+ "dataset": "Default",
5
5
  "body": {
6
6
  "name" : "User",
7
7
  "flags" : "TABLE_PAT_KEY"
@@ -9,7 +9,7 @@
9
9
  }
10
10
  {
11
11
  "type": "column_create",
12
- "dataset": "Droonga",
12
+ "dataset": "Default",
13
13
  "body": {
14
14
  "table" : "User",
15
15
  "name" : "name",
@@ -18,7 +18,7 @@
18
18
  }
19
19
  {
20
20
  "type": "column_create",
21
- "dataset": "Droonga",
21
+ "dataset": "Default",
22
22
  "body": {
23
23
  "table" : "User",
24
24
  "name" : "age",
@@ -27,7 +27,7 @@
27
27
  }
28
28
  {
29
29
  "type": "column_create",
30
- "dataset": "Droonga",
30
+ "dataset": "Default",
31
31
  "body": {
32
32
  "table" : "User",
33
33
  "name" : "email",
@@ -37,7 +37,7 @@
37
37
  }
38
38
  {
39
39
  "type": "column_create",
40
- "dataset": "Droonga",
40
+ "dataset": "Default",
41
41
  "body": {
42
42
  "table" : "User",
43
43
  "name" : "birthday",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "datasets": {
3
- "Droonga": {
3
+ "Default": {
4
4
  "schema": {
5
5
  "Products": {
6
6
  "type": "Hash",
@@ -1,7 +1,7 @@
1
1
  #@require-catalog-version 2
2
2
  {
3
3
  "type": "add",
4
- "dataset": "Droonga",
4
+ "dataset": "Default",
5
5
  "body": {
6
6
  "table": "Products",
7
7
  "key": "Groonga",
@@ -12,7 +12,7 @@
12
12
  }
13
13
  {
14
14
  "type": "add",
15
- "dataset": "Droonga",
15
+ "dataset": "Default",
16
16
  "body": {
17
17
  "table": "Products",
18
18
  "key": "Rroonga",
@@ -23,7 +23,7 @@
23
23
  }
24
24
  {
25
25
  "type": "add",
26
- "dataset": "Droonga",
26
+ "dataset": "Default",
27
27
  "body": {
28
28
  "table": "Products",
29
29
  "key": "Ruby",
@@ -34,7 +34,7 @@
34
34
  }
35
35
  {
36
36
  "type": "search",
37
- "dataset": "Droonga",
37
+ "dataset": "Default",
38
38
  "body": {
39
39
  "queries": {
40
40
  "products": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "datasets": {
3
- "Droonga": {
3
+ "Default": {
4
4
  "schema": {
5
5
  "Products": {
6
6
  "type": "Hash",
@@ -1,7 +1,7 @@
1
1
  #@require-catalog-version 2
2
2
  {
3
3
  "type": "add",
4
- "dataset": "Droonga",
4
+ "dataset": "Default",
5
5
  "body": {
6
6
  "table": "Products",
7
7
  "key": 1,
@@ -12,7 +12,7 @@
12
12
  }
13
13
  {
14
14
  "type": "add",
15
- "dataset": "Droonga",
15
+ "dataset": "Default",
16
16
  "body": {
17
17
  "table": "Products",
18
18
  "key": 2,
@@ -23,7 +23,7 @@
23
23
  }
24
24
  {
25
25
  "type": "add",
26
- "dataset": "Droonga",
26
+ "dataset": "Default",
27
27
  "body": {
28
28
  "table": "Products",
29
29
  "key": 3,
@@ -34,7 +34,7 @@
34
34
  }
35
35
  {
36
36
  "type": "search",
37
- "dataset": "Droonga",
37
+ "dataset": "Default",
38
38
  "body": {
39
39
  "queries": {
40
40
  "products": {
@@ -1,7 +1,7 @@
1
1
  #@include fixture/user-table.jsons
2
2
  {
3
3
  "type": "add",
4
- "dataset": "Droonga",
4
+ "dataset": "Default",
5
5
  "body": {
6
6
  "table": "User",
7
7
  "key": "key",
@@ -1,7 +1,7 @@
1
1
  #@include fixture/user-table.jsons
2
2
  {
3
3
  "type": "add",
4
- "dataset": "Droonga",
4
+ "dataset": "Default",
5
5
  "body": {
6
6
  "table": "User",
7
7
  "key": "key",