rroonga 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -2
- data/ext/groonga/rb-grn-expression.c +4 -3
- data/ext/groonga/rb-grn-object.c +13 -0
- data/ext/groonga/rb-grn-snippet.c +32 -126
- data/ext/groonga/rb-grn.h +14 -11
- data/rroonga-build.rb +1 -1
- metadata +98 -250
- data/README.textile +0 -73
- data/TODO +0 -0
- data/bug.rb +0 -36
- data/crash.rb +0 -17
- data/ext/groonga/Makefile +0 -260
- data/ext/groonga/groonga.so +0 -0
- data/ext/groonga/rb-grn-accessor.o +0 -0
- data/ext/groonga/rb-grn-array-cursor.o +0 -0
- data/ext/groonga/rb-grn-array.o +0 -0
- data/ext/groonga/rb-grn-column.o +0 -0
- data/ext/groonga/rb-grn-context.o +0 -0
- data/ext/groonga/rb-grn-database.o +0 -0
- data/ext/groonga/rb-grn-double-array-trie-cursor.o +0 -0
- data/ext/groonga/rb-grn-double-array-trie.o +0 -0
- data/ext/groonga/rb-grn-encoding-support.o +0 -0
- data/ext/groonga/rb-grn-encoding.o +0 -0
- data/ext/groonga/rb-grn-exception.o +0 -0
- data/ext/groonga/rb-grn-expression-builder.o +0 -0
- data/ext/groonga/rb-grn-expression.o +0 -0
- data/ext/groonga/rb-grn-fix-size-column.o +0 -0
- data/ext/groonga/rb-grn-hash-cursor.o +0 -0
- data/ext/groonga/rb-grn-hash.o +0 -0
- data/ext/groonga/rb-grn-index-column.o +0 -0
- data/ext/groonga/rb-grn-index-cursor.o +0 -0
- data/ext/groonga/rb-grn-logger.o +0 -0
- data/ext/groonga/rb-grn-object.o +0 -0
- data/ext/groonga/rb-grn-operator.o +0 -0
- data/ext/groonga/rb-grn-patricia-trie-cursor.o +0 -0
- data/ext/groonga/rb-grn-patricia-trie.o +0 -0
- data/ext/groonga/rb-grn-plugin.o +0 -0
- data/ext/groonga/rb-grn-posting.o +0 -0
- data/ext/groonga/rb-grn-procedure.o +0 -0
- data/ext/groonga/rb-grn-record.o +0 -0
- data/ext/groonga/rb-grn-snippet.o +0 -0
- data/ext/groonga/rb-grn-table-cursor-key-support.o +0 -0
- data/ext/groonga/rb-grn-table-cursor.o +0 -0
- data/ext/groonga/rb-grn-table-key-support.o +0 -0
- data/ext/groonga/rb-grn-table.o +0 -0
- data/ext/groonga/rb-grn-type.o +0 -0
- data/ext/groonga/rb-grn-utils.o +0 -0
- data/ext/groonga/rb-grn-variable-size-column.o +0 -0
- data/ext/groonga/rb-grn-variable.o +0 -0
- data/ext/groonga/rb-grn-view-accessor.o +0 -0
- data/ext/groonga/rb-grn-view-cursor.o +0 -0
- data/ext/groonga/rb-grn-view-record.o +0 -0
- data/ext/groonga/rb-grn-view.o +0 -0
- data/ext/groonga/rb-groonga.o +0 -0
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rroonga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,107 +13,8 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2012-03-
|
17
|
-
dependencies:
|
18
|
-
- !ruby/object:Gem::Dependency
|
19
|
-
name: pkg-config
|
20
|
-
requirement: &13014000 !ruby/object:Gem::Requirement
|
21
|
-
none: false
|
22
|
-
requirements:
|
23
|
-
- - ! '>='
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version: '0'
|
26
|
-
type: :runtime
|
27
|
-
prerelease: false
|
28
|
-
version_requirements: *13014000
|
29
|
-
- !ruby/object:Gem::Dependency
|
30
|
-
name: json
|
31
|
-
requirement: &13013080 !ruby/object:Gem::Requirement
|
32
|
-
none: false
|
33
|
-
requirements:
|
34
|
-
- - ! '>='
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: '0'
|
37
|
-
type: :runtime
|
38
|
-
prerelease: false
|
39
|
-
version_requirements: *13013080
|
40
|
-
- !ruby/object:Gem::Dependency
|
41
|
-
name: test-unit
|
42
|
-
requirement: &13012160 !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
|
-
requirements:
|
45
|
-
- - ! '>='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 2.4.6
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: *13012160
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: test-unit-notify
|
53
|
-
requirement: &13027880 !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
|
-
requirements:
|
56
|
-
- - ! '>='
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version: '0'
|
59
|
-
type: :development
|
60
|
-
prerelease: false
|
61
|
-
version_requirements: *13027880
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: rake
|
64
|
-
requirement: &13026400 !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: *13026400
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: rake-compiler
|
75
|
-
requirement: &13025460 !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
|
-
requirements:
|
78
|
-
- - ! '>='
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '0'
|
81
|
-
type: :development
|
82
|
-
prerelease: false
|
83
|
-
version_requirements: *13025460
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: jeweler
|
86
|
-
requirement: &13024420 !ruby/object:Gem::Requirement
|
87
|
-
none: false
|
88
|
-
requirements:
|
89
|
-
- - ! '>='
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: '0'
|
92
|
-
type: :development
|
93
|
-
prerelease: false
|
94
|
-
version_requirements: *13024420
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: yard
|
97
|
-
requirement: &13023020 !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
|
-
requirements:
|
100
|
-
- - ! '>='
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0'
|
103
|
-
type: :development
|
104
|
-
prerelease: false
|
105
|
-
version_requirements: *13023020
|
106
|
-
- !ruby/object:Gem::Dependency
|
107
|
-
name: packnga
|
108
|
-
requirement: &13022200 !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
|
-
requirements:
|
111
|
-
- - ! '>='
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: '0'
|
114
|
-
type: :development
|
115
|
-
prerelease: false
|
116
|
-
version_requirements: *13022200
|
16
|
+
date: 2012-03-29 00:00:00.000000000 Z
|
17
|
+
dependencies: []
|
117
18
|
description: ! 'rroonga is an extension library to use groonga''s DB-API
|
118
19
|
|
119
20
|
layer. rroonga provides Rubyish readable and writable API
|
@@ -124,184 +25,131 @@ description: ! 'rroonga is an extension library to use groonga''s DB-API
|
|
124
25
|
email:
|
125
26
|
- groonga-users-en@rubyforge.org
|
126
27
|
- groonga-dev@lists.sourceforge.jp
|
127
|
-
executables:
|
128
|
-
|
129
|
-
|
130
|
-
- groonga-query-log-extract
|
131
|
-
extensions:
|
132
|
-
- ext/groonga/extconf.rb
|
133
|
-
extra_rdoc_files:
|
134
|
-
- README.textile
|
135
|
-
- TODO
|
28
|
+
executables: []
|
29
|
+
extensions: []
|
30
|
+
extra_rdoc_files: []
|
136
31
|
files:
|
137
|
-
-
|
138
|
-
-
|
139
|
-
-
|
140
|
-
-
|
32
|
+
- lib/groonga/schema.rb
|
33
|
+
- lib/groonga/expression-builder-19.rb
|
34
|
+
- lib/groonga/pagination.rb
|
35
|
+
- lib/groonga/view-record.rb
|
36
|
+
- lib/groonga/query-log.rb
|
37
|
+
- lib/groonga/patricia-trie.rb
|
38
|
+
- lib/groonga/grntest-log.rb
|
39
|
+
- lib/groonga/command.rb
|
40
|
+
- lib/groonga/dumper.rb
|
41
|
+
- lib/groonga/posting.rb
|
42
|
+
- lib/groonga/context.rb
|
43
|
+
- lib/groonga/record.rb
|
44
|
+
- lib/groonga/expression-builder.rb
|
45
|
+
- lib/groonga.rb
|
141
46
|
- benchmark/common.rb
|
142
|
-
- benchmark/create-wikipedia-database.rb
|
143
|
-
- benchmark/read-write-many-small-items.rb
|
144
47
|
- benchmark/repeat-load.rb
|
145
|
-
- benchmark/
|
48
|
+
- benchmark/read-write-many-small-items.rb
|
49
|
+
- benchmark/create-wikipedia-database.rb
|
146
50
|
- benchmark/write-many-small-items.rb
|
147
|
-
-
|
51
|
+
- benchmark/select.rb
|
52
|
+
- misc/grnop2ruby.rb
|
148
53
|
- bin/grntest-log-analyze
|
54
|
+
- bin/grndump
|
149
55
|
- bin/groonga-query-log-extract
|
150
|
-
-
|
151
|
-
-
|
152
|
-
- example/bookmark.rb
|
56
|
+
- extconf.rb
|
57
|
+
- rroonga-build.rb
|
153
58
|
- example/index-html.rb
|
154
|
-
-
|
155
|
-
-
|
156
|
-
-
|
157
|
-
- ext/groonga/
|
158
|
-
- ext/groonga/rb-grn-accessor.c
|
159
|
-
- ext/groonga/rb-grn-accessor.o
|
160
|
-
- ext/groonga/rb-grn-array-cursor.c
|
161
|
-
- ext/groonga/rb-grn-array-cursor.o
|
162
|
-
- ext/groonga/rb-grn-array.c
|
163
|
-
- ext/groonga/rb-grn-array.o
|
59
|
+
- example/bookmark.rb
|
60
|
+
- Rakefile
|
61
|
+
- Gemfile
|
62
|
+
- ext/groonga/rb-grn-procedure.c
|
164
63
|
- ext/groonga/rb-grn-column.c
|
165
|
-
- ext/groonga/rb-grn-column.
|
166
|
-
- ext/groonga/rb-grn-context.c
|
167
|
-
- ext/groonga/rb-grn-context.o
|
168
|
-
- ext/groonga/rb-grn-database.c
|
169
|
-
- ext/groonga/rb-grn-database.o
|
170
|
-
- ext/groonga/rb-grn-double-array-trie-cursor.c
|
171
|
-
- ext/groonga/rb-grn-double-array-trie-cursor.o
|
172
|
-
- ext/groonga/rb-grn-double-array-trie.c
|
173
|
-
- ext/groonga/rb-grn-double-array-trie.o
|
64
|
+
- ext/groonga/rb-grn-index-column.c
|
174
65
|
- ext/groonga/rb-grn-encoding-support.c
|
175
|
-
- ext/groonga/rb-grn-
|
176
|
-
- ext/groonga/rb-grn-
|
177
|
-
- ext/groonga/rb-grn-encoding.o
|
178
|
-
- ext/groonga/rb-grn-exception.c
|
179
|
-
- ext/groonga/rb-grn-exception.o
|
180
|
-
- ext/groonga/rb-grn-expression-builder.c
|
181
|
-
- ext/groonga/rb-grn-expression-builder.o
|
182
|
-
- ext/groonga/rb-grn-expression.c
|
183
|
-
- ext/groonga/rb-grn-expression.o
|
184
|
-
- ext/groonga/rb-grn-fix-size-column.c
|
185
|
-
- ext/groonga/rb-grn-fix-size-column.o
|
66
|
+
- ext/groonga/rb-grn-variable.c
|
67
|
+
- ext/groonga/rb-grn-table.c
|
186
68
|
- ext/groonga/rb-grn-hash-cursor.c
|
187
|
-
- ext/groonga/rb-grn-
|
188
|
-
- ext/groonga/rb-grn-hash.c
|
189
|
-
- ext/groonga/rb-grn-hash.o
|
190
|
-
- ext/groonga/rb-grn-index-column.c
|
191
|
-
- ext/groonga/rb-grn-index-column.o
|
192
|
-
- ext/groonga/rb-grn-index-cursor.c
|
193
|
-
- ext/groonga/rb-grn-index-cursor.o
|
194
|
-
- ext/groonga/rb-grn-logger.c
|
195
|
-
- ext/groonga/rb-grn-logger.o
|
69
|
+
- ext/groonga/rb-grn-table-cursor-key-support.c
|
196
70
|
- ext/groonga/rb-grn-object.c
|
197
|
-
- ext/groonga/rb-grn-
|
198
|
-
- ext/groonga/rb-grn-
|
199
|
-
- ext/groonga/rb-grn-
|
200
|
-
- ext/groonga/rb-grn-
|
201
|
-
- ext/groonga/rb-grn-patricia-trie-cursor.o
|
71
|
+
- ext/groonga/rb-grn-double-array-trie.c
|
72
|
+
- ext/groonga/rb-grn-view-accessor.c
|
73
|
+
- ext/groonga/rb-grn-table-key-support.c
|
74
|
+
- ext/groonga/rb-grn-array.c
|
202
75
|
- ext/groonga/rb-grn-patricia-trie.c
|
203
|
-
- ext/groonga/rb-grn-
|
204
|
-
- ext/groonga/rb-grn-
|
205
|
-
- ext/groonga/rb-grn-plugin.o
|
206
|
-
- ext/groonga/rb-grn-posting.c
|
207
|
-
- ext/groonga/rb-grn-posting.o
|
208
|
-
- ext/groonga/rb-grn-procedure.c
|
209
|
-
- ext/groonga/rb-grn-procedure.o
|
76
|
+
- ext/groonga/rb-grn-double-array-trie-cursor.c
|
77
|
+
- ext/groonga/rb-grn-utils.c
|
210
78
|
- ext/groonga/rb-grn-record.c
|
211
|
-
- ext/groonga/rb-
|
79
|
+
- ext/groonga/rb-groonga.c
|
80
|
+
- ext/groonga/rb-grn-exception.c
|
81
|
+
- ext/groonga/rb-grn-variable-size-column.c
|
82
|
+
- ext/groonga/rb-grn-encoding.c
|
83
|
+
- ext/groonga/rb-grn-expression-builder.c
|
84
|
+
- ext/groonga/rb-grn-operator.c
|
212
85
|
- ext/groonga/rb-grn-snippet.c
|
213
|
-
- ext/groonga/rb-grn-
|
214
|
-
- ext/groonga/rb-grn-table-cursor-key-support.c
|
215
|
-
- ext/groonga/rb-grn-table-cursor-key-support.o
|
216
|
-
- ext/groonga/rb-grn-table-cursor.c
|
217
|
-
- ext/groonga/rb-grn-table-cursor.o
|
218
|
-
- ext/groonga/rb-grn-table-key-support.c
|
219
|
-
- ext/groonga/rb-grn-table-key-support.o
|
220
|
-
- ext/groonga/rb-grn-table.c
|
221
|
-
- ext/groonga/rb-grn-table.o
|
86
|
+
- ext/groonga/rb-grn-array-cursor.c
|
222
87
|
- ext/groonga/rb-grn-type.c
|
223
|
-
- ext/groonga/rb-grn-
|
224
|
-
- ext/groonga/rb-grn-
|
225
|
-
- ext/groonga/rb-grn-utils.o
|
226
|
-
- ext/groonga/rb-grn-variable-size-column.c
|
227
|
-
- ext/groonga/rb-grn-variable-size-column.o
|
228
|
-
- ext/groonga/rb-grn-variable.c
|
229
|
-
- ext/groonga/rb-grn-variable.o
|
230
|
-
- ext/groonga/rb-grn-view-accessor.c
|
231
|
-
- ext/groonga/rb-grn-view-accessor.o
|
88
|
+
- ext/groonga/rb-grn-table-cursor.c
|
89
|
+
- ext/groonga/rb-grn-fix-size-column.c
|
232
90
|
- ext/groonga/rb-grn-view-cursor.c
|
233
|
-
- ext/groonga/rb-grn-
|
91
|
+
- ext/groonga/rb-grn-logger.c
|
92
|
+
- ext/groonga/rb-grn-plugin.c
|
93
|
+
- ext/groonga/rb-grn-database.c
|
234
94
|
- ext/groonga/rb-grn-view-record.c
|
235
|
-
- ext/groonga/rb-grn-
|
95
|
+
- ext/groonga/rb-grn-patricia-trie-cursor.c
|
96
|
+
- ext/groonga/rb-grn-index-cursor.c
|
236
97
|
- ext/groonga/rb-grn-view.c
|
237
|
-
- ext/groonga/rb-grn-
|
98
|
+
- ext/groonga/rb-grn-accessor.c
|
99
|
+
- ext/groonga/rb-grn-context.c
|
100
|
+
- ext/groonga/rb-grn-posting.c
|
101
|
+
- ext/groonga/rb-grn-expression.c
|
102
|
+
- ext/groonga/rb-grn-hash.c
|
238
103
|
- ext/groonga/rb-grn.h
|
239
|
-
- ext/groonga/rb
|
240
|
-
- ext/groonga/
|
241
|
-
-
|
242
|
-
-
|
243
|
-
-
|
244
|
-
- lib/groonga/context.rb
|
245
|
-
- lib/groonga/dumper.rb
|
246
|
-
- lib/groonga/expression-builder-19.rb
|
247
|
-
- lib/groonga/expression-builder.rb
|
248
|
-
- lib/groonga/grntest-log.rb
|
249
|
-
- lib/groonga/pagination.rb
|
250
|
-
- lib/groonga/patricia-trie.rb
|
251
|
-
- lib/groonga/posting.rb
|
252
|
-
- lib/groonga/query-log.rb
|
253
|
-
- lib/groonga/record.rb
|
254
|
-
- lib/groonga/schema.rb
|
255
|
-
- lib/groonga/view-record.rb
|
256
|
-
- misc/grnop2ruby.rb
|
257
|
-
- rroonga-build.rb
|
258
|
-
- test/groonga-test-utils.rb
|
104
|
+
- ext/groonga/extconf.rb
|
105
|
+
- ext/groonga/groonga.def
|
106
|
+
- test/test-schema.rb
|
107
|
+
- test/test-vector-column.rb
|
108
|
+
- test/test-schema-dumper.rb
|
259
109
|
- test/run-test.rb
|
260
|
-
- test/test-
|
261
|
-
- test/test-
|
262
|
-
- test/test-
|
263
|
-
- test/test-
|
264
|
-
- test/test-
|
265
|
-
- test/test-
|
266
|
-
- test/test-
|
267
|
-
- test/test-
|
110
|
+
- test/test-table-cursor.rb
|
111
|
+
- test/test-procedure.rb
|
112
|
+
- test/test-hash.rb
|
113
|
+
- test/test-expression.rb
|
114
|
+
- test/test-version.rb
|
115
|
+
- test/test-remote.rb
|
116
|
+
- test/test-table-offset-and-limit.rb
|
117
|
+
- test/test-expression-builder.rb
|
268
118
|
- test/test-encoding.rb
|
119
|
+
- test/test-snippet.rb
|
120
|
+
- test/test-index-cursor.rb
|
121
|
+
- test/test-type.rb
|
122
|
+
- test/test-table-dumper.rb
|
123
|
+
- test/test-table.rb
|
124
|
+
- test/test-pagination.rb
|
125
|
+
- test/groonga-test-utils.rb
|
126
|
+
- test/test-logger.rb
|
127
|
+
- test/test-context.rb
|
128
|
+
- test/test-table-select-weight.rb
|
269
129
|
- test/test-exception.rb
|
270
|
-
- test/test-
|
271
|
-
- test/test-
|
272
|
-
- test/test-fix-size-column.rb
|
130
|
+
- test/test-table-select-normalize.rb
|
131
|
+
- test/test-command-select.rb
|
273
132
|
- test/test-gqtp.rb
|
274
|
-
- test/test-
|
133
|
+
- test/test-database-dumper.rb
|
275
134
|
- test/test-index-column.rb
|
276
|
-
- test/test-index-cursor.rb
|
277
|
-
- test/test-logger.rb
|
278
|
-
- test/test-pagination.rb
|
279
|
-
- test/test-patricia-trie.rb
|
280
135
|
- test/test-plugin.rb
|
281
|
-
- test/test-procedure.rb
|
282
136
|
- test/test-query-log.rb
|
283
|
-
- test/test-
|
284
|
-
- test/test-remote.rb
|
137
|
+
- test/test-variable-size-column.rb
|
285
138
|
- test/test-schema-create-table.rb
|
286
|
-
- test/test-
|
139
|
+
- test/test-array.rb
|
140
|
+
- test/test-fix-size-column.rb
|
287
141
|
- test/test-schema-type.rb
|
288
|
-
- test/test-schema-view.rb
|
289
|
-
- test/test-schema.rb
|
290
|
-
- test/test-snippet.rb
|
291
|
-
- test/test-table-cursor.rb
|
292
|
-
- test/test-table-dumper.rb
|
293
|
-
- test/test-table-offset-and-limit.rb
|
294
|
-
- test/test-table-select-mecab.rb
|
295
|
-
- test/test-table-select-normalize.rb
|
296
|
-
- test/test-table-select-weight.rb
|
297
142
|
- test/test-table-select.rb
|
298
|
-
- test/test-
|
299
|
-
- test/test-type.rb
|
300
|
-
- test/test-variable-size-column.rb
|
301
|
-
- test/test-variable.rb
|
302
|
-
- test/test-vector-column.rb
|
303
|
-
- test/test-version.rb
|
143
|
+
- test/test-schema-view.rb
|
304
144
|
- test/test-view.rb
|
145
|
+
- test/test-variable.rb
|
146
|
+
- test/test-column.rb
|
147
|
+
- test/test-patricia-trie.rb
|
148
|
+
- test/test-table-select-mecab.rb
|
149
|
+
- test/test-accessor.rb
|
150
|
+
- test/test-database.rb
|
151
|
+
- test/test-double-array-trie.rb
|
152
|
+
- test/test-record.rb
|
305
153
|
homepage: http://groonga.rubyforge.org/
|
306
154
|
licenses:
|
307
155
|
- LGPLv2
|
data/README.textile
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
h1. README
|
2
|
-
|
3
|
-
h2. Name
|
4
|
-
|
5
|
-
rroonga
|
6
|
-
|
7
|
-
h2. Description
|
8
|
-
|
9
|
-
Ruby bindings for groonga that provide full text search and
|
10
|
-
column store features.
|
11
|
-
|
12
|
-
rroonga is an extension library to use groonga's DB-API
|
13
|
-
layer. rroonga provides Rubyish readable and writable API
|
14
|
-
not C like API. You can use groonga's fast and highly
|
15
|
-
functional features from Ruby with Rubyish form.
|
16
|
-
|
17
|
-
See the following URL about groonga.
|
18
|
-
|
19
|
-
* "The groonga official site":http://groonga.org/
|
20
|
-
|
21
|
-
h2. Authors
|
22
|
-
|
23
|
-
* Kouhei Sutou <kou@clear-code.com>
|
24
|
-
* Tasuku SUENAGA <a@razil.jp>
|
25
|
-
* Daijiro MORI <morita@razil.jp>
|
26
|
-
* Yuto HAYAMIZU <y.hayamizu@gmail.com>
|
27
|
-
* SHIDARA Yoji <dara@shidara.net>
|
28
|
-
* yoshihara haruka <yoshihara@clear-code.com>
|
29
|
-
|
30
|
-
h2. License
|
31
|
-
|
32
|
-
LGPL 2.1. See license/LGPL for details.
|
33
|
-
|
34
|
-
(Kouhei Sutou has a right to change the license including
|
35
|
-
contributed patches.)
|
36
|
-
|
37
|
-
h2. Dependencies
|
38
|
-
|
39
|
-
* Ruby >= 1.8 (including 1.9.2)
|
40
|
-
* groonga >= 1.2.0
|
41
|
-
|
42
|
-
h2. Install
|
43
|
-
|
44
|
-
<pre>
|
45
|
-
!!!command_line
|
46
|
-
% sudo gem install rroonga
|
47
|
-
</pre>
|
48
|
-
|
49
|
-
h2. Documents
|
50
|
-
|
51
|
-
* "Reference manual in English":http://groonga.rubyforge.org/rroonga/en/
|
52
|
-
* "Reference manual in Japanese":http://groonga.rubyforge.org/rroonga/ja/
|
53
|
-
|
54
|
-
h2. Mailing list
|
55
|
-
|
56
|
-
* English: "groonga-users-en":http://rubyforge.org/mailman/listinfo/groonga-users-en
|
57
|
-
* Japanese: "groonga-dev":http://lists.sourceforge.jp/mailman/listinfo/groonga-dev
|
58
|
-
|
59
|
-
h2. Thanks
|
60
|
-
|
61
|
-
* Daijiro MORI: sent patches to support the latest groonga.
|
62
|
-
* Tasuku SUENAGA: sent bug reports.
|
63
|
-
* niku: sent bug reports.
|
64
|
-
* dara:
|
65
|
-
** wrote tests.
|
66
|
-
** fixed bugs.
|
67
|
-
* id:mat_aki: sent bug reports.
|
68
|
-
* @yune_kotomi: sent a bug report.
|
69
|
-
* m_seki: sent bug reports.
|
70
|
-
* ono matope: sent bug reports.
|
71
|
-
* @kamipo: send a bug report.
|
72
|
-
* ongaeshi: sent a patch to build gem on Windows.
|
73
|
-
* mallowlabs: send a patch.
|
data/TODO
DELETED
File without changes
|
data/bug.rb
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'fileutils'
|
4
|
-
require 'groonga'
|
5
|
-
|
6
|
-
Groonga::Logger.log_path = "/tmp/groonga.log"
|
7
|
-
Groonga::Logger.query_log_path = "/tmp/groonga-query.log"
|
8
|
-
|
9
|
-
i = 0
|
10
|
-
loop do
|
11
|
-
path = "/tmp/db/db"
|
12
|
-
FileUtils.rm_rf(File.dirname(path))
|
13
|
-
FileUtils.mkdir_p(File.dirname(path))
|
14
|
-
Groonga::Context.default = nil
|
15
|
-
database = Groonga::Database.create(:path => path)
|
16
|
-
Groonga::Schema.define do |schema|
|
17
|
-
schema.create_table("Users",
|
18
|
-
:type => :hash,
|
19
|
-
:key_type => "ShortText") do |table|
|
20
|
-
table.uint32("name_length")
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
users = Groonga["Users"]
|
25
|
-
10.times do
|
26
|
-
i += 1
|
27
|
-
exit if i > 100
|
28
|
-
name = i.to_s
|
29
|
-
users.add(name, :name_length => name.length)
|
30
|
-
end
|
31
|
-
builder = Groonga::RecordExpressionBuilder.new(users, nil)
|
32
|
-
builder.query = "name_length:3"
|
33
|
-
builder.build
|
34
|
-
database.close
|
35
|
-
GC.start
|
36
|
-
end
|
data/crash.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'groonga'
|
4
|
-
|
5
|
-
context = Groonga::Context.default
|
6
|
-
context.connect(:port => 10042)
|
7
|
-
|
8
|
-
10000.times do |i|
|
9
|
-
p i
|
10
|
-
GC.stress = true
|
11
|
-
result = context.select("Program")
|
12
|
-
result.records.each do |record|
|
13
|
-
record["_key"]
|
14
|
-
record["unknown"]
|
15
|
-
end
|
16
|
-
GC.stress = false
|
17
|
-
end
|