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.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +7 -0
- data/Rakefile +6 -2
- data/bin/droonga-engine +2 -2
- data/bin/{droonga-catalog-generate → droonga-engine-catalog-generate} +15 -3
- data/bin/droonga-engine-serf-event-handler +20 -0
- data/bin/droonga-engine-service +2 -2
- data/doc/text/news.md +21 -1
- data/droonga-engine.gemspec +5 -2
- data/lib/droonga/catalog/collection_volume.rb +12 -0
- data/lib/droonga/catalog/dataset.rb +25 -0
- data/lib/droonga/catalog/single_volume.rb +10 -0
- data/lib/droonga/catalog/slice.rb +4 -0
- data/lib/droonga/catalog/version1.rb +59 -48
- data/lib/droonga/catalog/version2.rb +10 -20
- data/lib/droonga/catalog/volume_collection.rb +27 -4
- data/lib/droonga/catalog_generator.rb +12 -5
- data/lib/droonga/catalog_observer.rb +17 -35
- data/lib/droonga/command/droonga_engine.rb +436 -0
- data/lib/droonga/command/droonga_engine_service.rb +273 -0
- data/lib/droonga/command/serf_event_handler.rb +85 -0
- data/lib/droonga/dispatcher.rb +8 -8
- data/lib/droonga/engine.rb +90 -26
- data/lib/droonga/engine/version.rb +1 -1
- data/lib/droonga/engine_state.rb +29 -3
- data/lib/droonga/internal_fluent_message_receiver.rb +100 -0
- data/lib/droonga/live_nodes_list_loader.rb +48 -0
- data/lib/droonga/live_nodes_list_observer.rb +72 -0
- data/lib/droonga/path.rb +47 -0
- data/lib/droonga/plugins/dump.rb +279 -38
- data/lib/droonga/plugins/groonga/select.rb +26 -14
- data/lib/droonga/plugins/search.rb +30 -2
- data/lib/droonga/plugins/search/distributed_search_planner.rb +28 -11
- data/lib/droonga/processor.rb +4 -0
- data/lib/droonga/searcher.rb +26 -0
- data/lib/droonga/serf.rb +119 -0
- data/lib/droonga/serf_downloader.rb +90 -0
- data/lib/droonga/server.rb +2 -2
- data/lib/droonga/service_control_protocol.rb +26 -0
- data/sample/cluster/catalog.json +1 -1
- data/test/command/config/default/catalog.json +2 -2
- data/test/command/config/version1/catalog.json +1 -1
- data/test/command/fixture/documents.jsons +18 -18
- data/test/command/fixture/event.jsons +4 -4
- data/test/command/fixture/user-table-array.jsons +4 -4
- data/test/command/fixture/user-table.jsons +5 -5
- data/test/command/suite/add/dimension/column.catalog.json +1 -1
- data/test/command/suite/add/dimension/column.test +4 -4
- data/test/command/suite/add/dimension/integer.catalog.json +1 -1
- data/test/command/suite/add/dimension/integer.test +4 -4
- data/test/command/suite/add/error/invalid-integer.test +1 -1
- data/test/command/suite/add/error/invalid-time.test +1 -1
- data/test/command/suite/add/error/missing-key.test +1 -1
- data/test/command/suite/add/error/missing-table.test +1 -1
- data/test/command/suite/add/error/unknown-column.test +1 -1
- data/test/command/suite/add/error/unknown-table.test +1 -1
- data/test/command/suite/add/minimum.test +1 -1
- data/test/command/suite/add/vector/short_text.catalog.json +26 -0
- data/test/command/suite/add/vector/short_text.expected +42 -0
- data/test/command/suite/add/vector/short_text.test +35 -0
- data/test/command/suite/add/with-values.test +1 -1
- data/test/command/suite/add/without-key.test +1 -1
- data/test/command/suite/dump/column/index.catalog.json +40 -0
- data/test/command/suite/dump/column/index.expected +195 -0
- data/test/command/suite/dump/column/index.test +5 -0
- data/test/command/suite/dump/column/scalar.catalog.json +19 -0
- data/test/command/suite/dump/column/scalar.expected +99 -0
- data/test/command/suite/dump/column/scalar.test +5 -0
- data/test/command/suite/dump/column/vector.catalog.json +22 -0
- data/test/command/suite/dump/column/vector.expected +108 -0
- data/test/command/suite/dump/column/vector.test +5 -0
- data/test/command/suite/dump/record/vector/reference.catalog.json +27 -0
- data/test/command/suite/dump/record/vector/reference.expected +213 -0
- data/test/command/suite/dump/record/vector/reference.test +21 -0
- data/test/command/suite/dump/table/array.catalog.json +13 -0
- data/test/command/suite/dump/table/array.expected +63 -0
- data/test/command/suite/dump/table/array.test +5 -0
- data/test/command/suite/dump/table/double_array_trie.catalog.json +14 -0
- data/test/command/suite/dump/table/double_array_trie.expected +66 -0
- data/test/command/suite/dump/table/double_array_trie.test +5 -0
- data/test/command/suite/dump/table/hash.catalog.json +14 -0
- data/test/command/suite/dump/table/hash.expected +66 -0
- data/test/command/suite/dump/table/hash.test +5 -0
- data/test/command/suite/dump/table/patricia_trie.catalog.json +14 -0
- data/test/command/suite/dump/table/patricia_trie.expected +66 -0
- data/test/command/suite/dump/table/patricia_trie.test +5 -0
- data/test/command/suite/groonga/column_create/scalar.test +2 -2
- data/test/command/suite/groonga/column_create/unknown-table.test +1 -1
- data/test/command/suite/groonga/column_create/vector.test +2 -2
- data/test/command/suite/groonga/column_list/success.test +3 -3
- data/test/command/suite/groonga/column_list/unknown-table.test +1 -1
- data/test/command/suite/groonga/column_remove/success.test +3 -3
- data/test/command/suite/groonga/column_remove/unknown-column.test +2 -2
- data/test/command/suite/groonga/column_remove/unknown-table.test +1 -1
- data/test/command/suite/groonga/column_rename/success.test +3 -3
- data/test/command/suite/groonga/column_rename/unknown-column.test +2 -2
- data/test/command/suite/groonga/column_rename/unknown-table.test +1 -1
- data/test/command/suite/groonga/delete/duplicated-identifiers.test +2 -2
- data/test/command/suite/groonga/delete/filter.test +2 -2
- data/test/command/suite/groonga/delete/invalid-filter.test +1 -1
- data/test/command/suite/groonga/delete/no-identifier.test +2 -2
- data/test/command/suite/groonga/delete/success.test +2 -2
- data/test/command/suite/groonga/delete/unknown-table.test +1 -1
- data/test/command/suite/groonga/select/minimum.expected +24 -1
- data/test/command/suite/groonga/select/minimum.test +1 -1
- data/test/command/suite/groonga/select/type/time.catalog.json +19 -0
- data/test/command/suite/groonga/select/type/time.expected +37 -0
- data/test/command/suite/groonga/select/type/time.test +35 -0
- data/test/command/suite/groonga/table_create/array.test +1 -1
- data/test/command/suite/groonga/table_create/hash.test +1 -1
- data/test/command/suite/groonga/table_list/success.test +2 -2
- data/test/command/suite/groonga/table_remove/success.test +1 -1
- data/test/command/suite/groonga/table_remove/unknown-table.test +1 -1
- data/test/command/suite/message/error/unknown-type.expected +1 -1
- data/test/command/suite/message/error/unknown-type.test +1 -1
- data/test/command/suite/search/adjusters/multiple.catalog.json +1 -1
- data/test/command/suite/search/adjusters/multiple.test +3 -3
- data/test/command/suite/search/adjusters/one.catalog.json +1 -1
- data/test/command/suite/search/adjusters/one.test +3 -3
- data/test/command/suite/search/attributes/array.expected +7 -0
- data/test/command/suite/search/attributes/array.test +1 -1
- data/test/command/suite/search/attributes/hash.expected +18 -0
- data/test/command/suite/search/attributes/hash.test +1 -1
- data/test/command/suite/search/complex.expected +12 -0
- data/test/command/suite/search/complex.test +1 -1
- data/test/command/suite/search/condition/nested.catalog.json +37 -0
- data/test/command/suite/search/condition/nested.expected +7 -0
- data/test/command/suite/search/condition/nested.test +103 -2
- data/test/command/suite/search/condition/query.catalog.json +37 -0
- data/test/command/suite/search/condition/query.expected +7 -0
- data/test/command/suite/search/condition/query.test +103 -2
- data/test/command/suite/search/condition/query/nonexistent_column.catalog.json +1 -1
- data/test/command/suite/search/condition/query/nonexistent_column.test +2 -2
- data/test/command/suite/search/condition/query/syntax_error.catalog.json +1 -1
- data/test/command/suite/search/condition/query/syntax_error.test +2 -2
- data/test/command/suite/search/condition/script.catalog.json +37 -0
- data/test/command/suite/search/condition/script.expected +7 -0
- data/test/command/suite/search/condition/script.test +103 -2
- data/test/command/suite/search/error/cyclic-source.test +1 -1
- data/test/command/suite/search/error/deeply-cyclic-source.test +1 -1
- data/test/command/suite/search/error/missing-source-parameter.test +1 -1
- data/test/command/suite/search/error/no-query.test +1 -1
- data/test/command/suite/search/error/unknown-source.test +1 -1
- data/test/command/suite/search/group/count.test +1 -1
- data/test/command/suite/search/group/limit.test +1 -1
- data/test/command/suite/search/group/string.catalog.json +41 -0
- data/test/command/suite/search/group/string.expected +18 -18
- data/test/command/suite/search/group/string.test +67 -22
- data/test/command/suite/search/group/subrecord/with-sort.catalog.json +1 -1
- data/test/command/suite/search/group/subrecord/with-sort.test +5 -5
- data/test/command/suite/search/multiple/chained.catalog.json +37 -0
- data/test/command/suite/search/multiple/chained.expected +14 -0
- data/test/command/suite/search/multiple/chained.test +103 -2
- data/test/command/suite/search/multiple/parallel.expected +14 -0
- data/test/command/suite/search/multiple/parallel.test +1 -1
- data/test/command/suite/search/output/attributes/invalid.catalog.json +1 -1
- data/test/command/suite/search/output/attributes/invalid.test +2 -2
- data/test/command/suite/search/output/attributes/star.catalog.json +23 -0
- data/test/command/suite/search/output/attributes/star.expected +27 -0
- data/test/command/suite/search/output/attributes/star.test +32 -0
- data/test/command/suite/search/range/only-output.expected +7 -0
- data/test/command/suite/search/range/only-output.test +1 -1
- data/test/command/suite/search/range/only-sort.expected +7 -0
- data/test/command/suite/search/range/only-sort.test +1 -1
- data/test/command/suite/search/range/sort-and-output.expected +7 -0
- data/test/command/suite/search/range/sort-and-output.test +1 -1
- data/test/command/suite/search/range/too-large-output-offset.expected +8 -0
- data/test/command/suite/search/range/too-large-output-offset.test +1 -1
- data/test/command/suite/search/range/too-large-sort-offset.expected +8 -0
- data/test/command/suite/search/range/too-large-sort-offset.test +1 -1
- data/test/command/suite/search/response/elapsed_time.catalog.json +1 -1
- data/test/command/suite/search/response/elapsed_time.test +2 -2
- data/test/command/suite/search/response/records/value/time.expected +12 -0
- data/test/command/suite/search/response/records/value/time.test +1 -1
- data/test/command/suite/search/simple.expected +12 -0
- data/test/command/suite/search/simple.test +1 -1
- data/test/command/suite/search/sort/default-offset-limit.expected +7 -0
- data/test/command/suite/search/sort/default-offset-limit.test +1 -1
- data/test/command/suite/search/sort/invisible-column.expected +7 -0
- data/test/command/suite/search/sort/invisible-column.test +1 -1
- data/test/unit/catalog/test_collection_volume.rb +16 -0
- data/test/unit/catalog/test_dataset.rb +36 -0
- data/test/unit/catalog/test_single_volume.rb +9 -0
- data/test/unit/catalog/test_slice.rb +11 -0
- data/test/unit/catalog/test_version1.rb +7 -12
- data/test/unit/catalog/test_version2.rb +7 -0
- data/test/unit/catalog/test_volume_collection.rb +28 -0
- data/test/unit/fixtures/catalog/version1.json +10 -3
- data/test/unit/fixtures/catalog/version2.json +2 -2
- data/test/unit/plugins/groonga/select/test_adapter_output.rb +8 -14
- data/test/unit/plugins/groonga/test_column_create.rb +5 -5
- data/test/unit/plugins/groonga/test_column_remove.rb +2 -2
- data/test/unit/plugins/groonga/test_column_rename.rb +2 -2
- data/test/unit/plugins/groonga/test_delete.rb +2 -2
- data/test/unit/plugins/groonga/test_table_create.rb +9 -9
- data/test/unit/plugins/groonga/test_table_remove.rb +1 -1
- data/test/unit/test_catalog_generator.rb +1 -1
- data/test/unit/test_schema_applier.rb +2 -2
- data/test/unit/test_watch_schema.rb +4 -4
- metadata +241 -72
- data/lib/droonga/engine/command/droonga_engine.rb +0 -441
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"datasets": {
|
3
|
+
"Default": {
|
4
|
+
"schema": {
|
5
|
+
"Memos": {
|
6
|
+
"type": "Hash",
|
7
|
+
"keyType": "ShortText",
|
8
|
+
"columns": {
|
9
|
+
"content": {
|
10
|
+
"type": "Scalar",
|
11
|
+
"valueType": "Text"
|
12
|
+
},
|
13
|
+
"categories": {
|
14
|
+
"type": "Vector",
|
15
|
+
"valueType": "ShortText",
|
16
|
+
"vectorOptions": {
|
17
|
+
"weight": false
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"fact": "Memos"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
{
|
2
|
+
"inReplyTo": "request-id",
|
3
|
+
"statusCode": 200,
|
4
|
+
"type": "add.result",
|
5
|
+
"body": true
|
6
|
+
}
|
7
|
+
{
|
8
|
+
"inReplyTo": "request-id",
|
9
|
+
"statusCode": 200,
|
10
|
+
"type": "search.result",
|
11
|
+
"body": {
|
12
|
+
"documents": {
|
13
|
+
"attributes": [
|
14
|
+
{
|
15
|
+
"name": "_key",
|
16
|
+
"type": "ShortText",
|
17
|
+
"vector": false
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"name": "content",
|
21
|
+
"type": "Text",
|
22
|
+
"vector": false
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "categories",
|
26
|
+
"type": "ShortText",
|
27
|
+
"vector": true
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"records": [
|
31
|
+
[
|
32
|
+
"Groonga newbie",
|
33
|
+
"Groonga is a full text search engine",
|
34
|
+
[
|
35
|
+
"Groonga",
|
36
|
+
"full text search"
|
37
|
+
]
|
38
|
+
]
|
39
|
+
]
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#@require-catalog-version 2
|
2
|
+
{
|
3
|
+
"dataset": "Default",
|
4
|
+
"type": "add",
|
5
|
+
"body": {
|
6
|
+
"table": "Memos",
|
7
|
+
"key": "Groonga newbie",
|
8
|
+
"values": {
|
9
|
+
"content": "Groonga is a full text search engine",
|
10
|
+
"categories": [
|
11
|
+
"Groonga",
|
12
|
+
"full text search"
|
13
|
+
]
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
{
|
18
|
+
"type": "search",
|
19
|
+
"dataset": "Default",
|
20
|
+
"body": {
|
21
|
+
"queries": {
|
22
|
+
"documents": {
|
23
|
+
"source": "Memos",
|
24
|
+
"output": {
|
25
|
+
"elements": [
|
26
|
+
"attributes",
|
27
|
+
"records"
|
28
|
+
],
|
29
|
+
"limit": -1,
|
30
|
+
"attributes": ["_key", "content", "categories"]
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"datasets": {
|
3
|
+
"Default": {
|
4
|
+
"schema": {
|
5
|
+
"Memos": {
|
6
|
+
"type": "Hash",
|
7
|
+
"keyType": "ShortText",
|
8
|
+
"columns": {
|
9
|
+
"content": {
|
10
|
+
"type": "Scalar",
|
11
|
+
"valueType": "ShortText"
|
12
|
+
}
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"Terms": {
|
16
|
+
"type": "PatriciaTrie",
|
17
|
+
"keyType": "ShortText",
|
18
|
+
"tokenizer": "TokenBigram",
|
19
|
+
"normalizer": "NormalizerAuto",
|
20
|
+
"columns": {
|
21
|
+
"index": {
|
22
|
+
"type": "Index",
|
23
|
+
"valueType": "Memos",
|
24
|
+
"indexOptions": {
|
25
|
+
"section": true,
|
26
|
+
"weight": true,
|
27
|
+
"position": true,
|
28
|
+
"sources": [
|
29
|
+
"_key",
|
30
|
+
"content"
|
31
|
+
]
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"fact": "Memos"
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
@@ -0,0 +1,195 @@
|
|
1
|
+
{
|
2
|
+
"inReplyTo": "request-id",
|
3
|
+
"dataset": "Default",
|
4
|
+
"type": "dump.start"
|
5
|
+
}
|
6
|
+
{
|
7
|
+
"inReplyTo": "request-id",
|
8
|
+
"dataset": "Default",
|
9
|
+
"type": "dump.start"
|
10
|
+
}
|
11
|
+
{
|
12
|
+
"inReplyTo": "request-id",
|
13
|
+
"dataset": "Default",
|
14
|
+
"type": "dump.start"
|
15
|
+
}
|
16
|
+
{
|
17
|
+
"inReplyTo": "request-id",
|
18
|
+
"statusCode": 200,
|
19
|
+
"type": "dump.result",
|
20
|
+
"body": true
|
21
|
+
}
|
22
|
+
{
|
23
|
+
"inReplyTo": "request-id",
|
24
|
+
"dataset": "Default",
|
25
|
+
"body": {
|
26
|
+
"type": "Hash",
|
27
|
+
"name": "Memos",
|
28
|
+
"keyType": "ShortText"
|
29
|
+
},
|
30
|
+
"type": "dump.table"
|
31
|
+
}
|
32
|
+
{
|
33
|
+
"inReplyTo": "request-id",
|
34
|
+
"dataset": "Default",
|
35
|
+
"body": {
|
36
|
+
"table": "Memos",
|
37
|
+
"name": "content",
|
38
|
+
"type": "Scalar",
|
39
|
+
"valueType": "ShortText"
|
40
|
+
},
|
41
|
+
"type": "dump.column"
|
42
|
+
}
|
43
|
+
{
|
44
|
+
"inReplyTo": "request-id",
|
45
|
+
"dataset": "Default",
|
46
|
+
"body": {
|
47
|
+
"type": "PatriciaTrie",
|
48
|
+
"name": "Terms",
|
49
|
+
"keyType": "ShortText",
|
50
|
+
"tokenizer": "TokenBigram",
|
51
|
+
"normalizer": "NormalizerAuto"
|
52
|
+
},
|
53
|
+
"type": "dump.table"
|
54
|
+
}
|
55
|
+
{
|
56
|
+
"inReplyTo": "request-id",
|
57
|
+
"dataset": "Default",
|
58
|
+
"body": {
|
59
|
+
"table": "Terms",
|
60
|
+
"name": "Memos__key_content",
|
61
|
+
"type": "Index",
|
62
|
+
"valueType": "Memos",
|
63
|
+
"indexOptions": {
|
64
|
+
"section": true,
|
65
|
+
"weight": true,
|
66
|
+
"position": true,
|
67
|
+
"sources": [
|
68
|
+
"_key",
|
69
|
+
"content"
|
70
|
+
]
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"type": "dump.column"
|
74
|
+
}
|
75
|
+
{
|
76
|
+
"inReplyTo": "request-id",
|
77
|
+
"dataset": "Default",
|
78
|
+
"type": "dump.end"
|
79
|
+
}
|
80
|
+
{
|
81
|
+
"inReplyTo": "request-id",
|
82
|
+
"dataset": "Default",
|
83
|
+
"body": {
|
84
|
+
"type": "Hash",
|
85
|
+
"name": "Memos",
|
86
|
+
"keyType": "ShortText"
|
87
|
+
},
|
88
|
+
"type": "dump.table"
|
89
|
+
}
|
90
|
+
{
|
91
|
+
"inReplyTo": "request-id",
|
92
|
+
"dataset": "Default",
|
93
|
+
"body": {
|
94
|
+
"table": "Memos",
|
95
|
+
"name": "content",
|
96
|
+
"type": "Scalar",
|
97
|
+
"valueType": "ShortText"
|
98
|
+
},
|
99
|
+
"type": "dump.column"
|
100
|
+
}
|
101
|
+
{
|
102
|
+
"inReplyTo": "request-id",
|
103
|
+
"dataset": "Default",
|
104
|
+
"body": {
|
105
|
+
"type": "PatriciaTrie",
|
106
|
+
"name": "Terms",
|
107
|
+
"keyType": "ShortText",
|
108
|
+
"tokenizer": "TokenBigram",
|
109
|
+
"normalizer": "NormalizerAuto"
|
110
|
+
},
|
111
|
+
"type": "dump.table"
|
112
|
+
}
|
113
|
+
{
|
114
|
+
"inReplyTo": "request-id",
|
115
|
+
"dataset": "Default",
|
116
|
+
"body": {
|
117
|
+
"table": "Terms",
|
118
|
+
"name": "Memos__key_content",
|
119
|
+
"type": "Index",
|
120
|
+
"valueType": "Memos",
|
121
|
+
"indexOptions": {
|
122
|
+
"section": true,
|
123
|
+
"weight": true,
|
124
|
+
"position": true,
|
125
|
+
"sources": [
|
126
|
+
"_key",
|
127
|
+
"content"
|
128
|
+
]
|
129
|
+
}
|
130
|
+
},
|
131
|
+
"type": "dump.column"
|
132
|
+
}
|
133
|
+
{
|
134
|
+
"inReplyTo": "request-id",
|
135
|
+
"dataset": "Default",
|
136
|
+
"type": "dump.end"
|
137
|
+
}
|
138
|
+
{
|
139
|
+
"inReplyTo": "request-id",
|
140
|
+
"dataset": "Default",
|
141
|
+
"body": {
|
142
|
+
"type": "Hash",
|
143
|
+
"name": "Memos",
|
144
|
+
"keyType": "ShortText"
|
145
|
+
},
|
146
|
+
"type": "dump.table"
|
147
|
+
}
|
148
|
+
{
|
149
|
+
"inReplyTo": "request-id",
|
150
|
+
"dataset": "Default",
|
151
|
+
"body": {
|
152
|
+
"table": "Memos",
|
153
|
+
"name": "content",
|
154
|
+
"type": "Scalar",
|
155
|
+
"valueType": "ShortText"
|
156
|
+
},
|
157
|
+
"type": "dump.column"
|
158
|
+
}
|
159
|
+
{
|
160
|
+
"inReplyTo": "request-id",
|
161
|
+
"dataset": "Default",
|
162
|
+
"body": {
|
163
|
+
"type": "PatriciaTrie",
|
164
|
+
"name": "Terms",
|
165
|
+
"keyType": "ShortText",
|
166
|
+
"tokenizer": "TokenBigram",
|
167
|
+
"normalizer": "NormalizerAuto"
|
168
|
+
},
|
169
|
+
"type": "dump.table"
|
170
|
+
}
|
171
|
+
{
|
172
|
+
"inReplyTo": "request-id",
|
173
|
+
"dataset": "Default",
|
174
|
+
"body": {
|
175
|
+
"table": "Terms",
|
176
|
+
"name": "Memos__key_content",
|
177
|
+
"type": "Index",
|
178
|
+
"valueType": "Memos",
|
179
|
+
"indexOptions": {
|
180
|
+
"section": true,
|
181
|
+
"weight": true,
|
182
|
+
"position": true,
|
183
|
+
"sources": [
|
184
|
+
"_key",
|
185
|
+
"content"
|
186
|
+
]
|
187
|
+
}
|
188
|
+
},
|
189
|
+
"type": "dump.column"
|
190
|
+
}
|
191
|
+
{
|
192
|
+
"inReplyTo": "request-id",
|
193
|
+
"dataset": "Default",
|
194
|
+
"type": "dump.end"
|
195
|
+
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
{
|
2
|
+
"inReplyTo": "request-id",
|
3
|
+
"dataset": "Default",
|
4
|
+
"type": "dump.start"
|
5
|
+
}
|
6
|
+
{
|
7
|
+
"inReplyTo": "request-id",
|
8
|
+
"dataset": "Default",
|
9
|
+
"type": "dump.start"
|
10
|
+
}
|
11
|
+
{
|
12
|
+
"inReplyTo": "request-id",
|
13
|
+
"dataset": "Default",
|
14
|
+
"type": "dump.start"
|
15
|
+
}
|
16
|
+
{
|
17
|
+
"inReplyTo": "request-id",
|
18
|
+
"statusCode": 200,
|
19
|
+
"type": "dump.result",
|
20
|
+
"body": true
|
21
|
+
}
|
22
|
+
{
|
23
|
+
"inReplyTo": "request-id",
|
24
|
+
"dataset": "Default",
|
25
|
+
"body": {
|
26
|
+
"type": "Hash",
|
27
|
+
"name": "Memos",
|
28
|
+
"keyType": "ShortText"
|
29
|
+
},
|
30
|
+
"type": "dump.table"
|
31
|
+
}
|
32
|
+
{
|
33
|
+
"inReplyTo": "request-id",
|
34
|
+
"dataset": "Default",
|
35
|
+
"body": {
|
36
|
+
"table": "Memos",
|
37
|
+
"name": "title",
|
38
|
+
"type": "Scalar",
|
39
|
+
"valueType": "ShortText"
|
40
|
+
},
|
41
|
+
"type": "dump.column"
|
42
|
+
}
|
43
|
+
{
|
44
|
+
"inReplyTo": "request-id",
|
45
|
+
"dataset": "Default",
|
46
|
+
"type": "dump.end"
|
47
|
+
}
|
48
|
+
{
|
49
|
+
"inReplyTo": "request-id",
|
50
|
+
"dataset": "Default",
|
51
|
+
"body": {
|
52
|
+
"type": "Hash",
|
53
|
+
"name": "Memos",
|
54
|
+
"keyType": "ShortText"
|
55
|
+
},
|
56
|
+
"type": "dump.table"
|
57
|
+
}
|
58
|
+
{
|
59
|
+
"inReplyTo": "request-id",
|
60
|
+
"dataset": "Default",
|
61
|
+
"body": {
|
62
|
+
"table": "Memos",
|
63
|
+
"name": "title",
|
64
|
+
"type": "Scalar",
|
65
|
+
"valueType": "ShortText"
|
66
|
+
},
|
67
|
+
"type": "dump.column"
|
68
|
+
}
|
69
|
+
{
|
70
|
+
"inReplyTo": "request-id",
|
71
|
+
"dataset": "Default",
|
72
|
+
"type": "dump.end"
|
73
|
+
}
|
74
|
+
{
|
75
|
+
"inReplyTo": "request-id",
|
76
|
+
"dataset": "Default",
|
77
|
+
"body": {
|
78
|
+
"type": "Hash",
|
79
|
+
"name": "Memos",
|
80
|
+
"keyType": "ShortText"
|
81
|
+
},
|
82
|
+
"type": "dump.table"
|
83
|
+
}
|
84
|
+
{
|
85
|
+
"inReplyTo": "request-id",
|
86
|
+
"dataset": "Default",
|
87
|
+
"body": {
|
88
|
+
"table": "Memos",
|
89
|
+
"name": "title",
|
90
|
+
"type": "Scalar",
|
91
|
+
"valueType": "ShortText"
|
92
|
+
},
|
93
|
+
"type": "dump.column"
|
94
|
+
}
|
95
|
+
{
|
96
|
+
"inReplyTo": "request-id",
|
97
|
+
"dataset": "Default",
|
98
|
+
"type": "dump.end"
|
99
|
+
}
|