rroonga 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/Rakefile +1 -10
- data/ext/groonga/extconf.rb +3 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-column.c +33 -67
- data/ext/groonga/rb-grn-context.c +5 -5
- data/ext/groonga/rb-grn-database.c +2 -2
- data/ext/groonga/rb-grn-double-array-trie.c +4 -2
- data/ext/groonga/rb-grn-encoding-support.c +7 -1
- data/ext/groonga/rb-grn-equal-operator.c +85 -0
- data/ext/groonga/rb-grn-exception.c +17 -0
- data/ext/groonga/rb-grn-expression.c +85 -43
- data/ext/groonga/rb-grn-greater-equal-operator.c +88 -0
- data/ext/groonga/rb-grn-greater-operator.c +85 -0
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +150 -11
- data/ext/groonga/rb-grn-less-equal-operator.c +88 -0
- data/ext/groonga/rb-grn-less-operator.c +85 -0
- data/ext/groonga/rb-grn-logger.c +5 -5
- data/ext/groonga/rb-grn-match-operator.c +86 -0
- data/ext/groonga/rb-grn-normalizer.c +8 -1
- data/ext/groonga/rb-grn-not-equal-operator.c +85 -0
- data/ext/groonga/rb-grn-object.c +170 -36
- data/ext/groonga/rb-grn-operator.c +395 -172
- data/ext/groonga/rb-grn-patricia-trie.c +10 -8
- data/ext/groonga/rb-grn-plugin.c +51 -3
- data/ext/groonga/rb-grn-prefix-operator.c +86 -0
- data/ext/groonga/rb-grn-procedure-type.c +4 -0
- data/ext/groonga/rb-grn-query-logger.c +4 -4
- data/ext/groonga/rb-grn-regexp-operator.c +85 -0
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +9 -5
- data/ext/groonga/rb-grn-table.c +52 -66
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +22 -3
- data/ext/groonga/rb-grn.h +31 -4
- data/ext/groonga/rb-groonga.c +9 -9
- data/lib/groonga/context.rb +31 -0
- data/lib/groonga/expression-builder.rb +14 -1
- data/lib/groonga/record.rb +10 -8
- data/lib/groonga/schema.rb +3 -1
- data/rroonga-build.rb +2 -2
- data/rroonga.gemspec +3 -3
- data/test/groonga-test-utils.rb +4 -0
- data/test/test-column.rb +28 -26
- data/test/test-exception.rb +1 -0
- data/test/test-expression-builder.rb +83 -1
- data/test/test-expression.rb +80 -48
- data/test/test-index-column.rb +102 -29
- data/test/test-normalizer.rb +35 -29
- data/test/test-operator.rb +214 -0
- data/test/test-plugin.rb +24 -6
- data/test/test-procedure.rb +29 -0
- data/test/test-schema-type.rb +14 -0
- data/test/test-table-select-mecab.rb +1 -4
- data/test/test-table.rb +7 -0
- data/test/test-token-regexp.rb +30 -0
- data/test/test-type.rb +24 -0
- metadata +61 -49
- data/doc/text/news.textile +0 -1217
data/doc/text/news.textile
DELETED
@@ -1,1217 +0,0 @@
|
|
1
|
-
h1. NEWS
|
2
|
-
|
3
|
-
h2(#5-0-0). 5.0.0: 2014-02-16 (planned)
|
4
|
-
|
5
|
-
h3. Improvements
|
6
|
-
|
7
|
-
* Supported Groonga 5.0.0. Groonga 4.1.1 or older aren't supported.
|
8
|
-
* Added flags for {Groonga::Normalizer.normalize}.
|
9
|
-
[GitHub#44] [Patch by Tasuku SUENAGA a.k.a. gunyarakun]
|
10
|
-
<pre>
|
11
|
-
Groonga::Normalizer.normalize("AbC Def gh") #=> "abcdefgh"
|
12
|
-
Groonga::Normalizer.normalize("AbC Def gh", :remove_blank => true) #=> "abcdefgh"
|
13
|
-
Groonga::Normalizer.normalize("AbC Def gh", :remove_blank => false) #=> "abc def gh"
|
14
|
-
</pre>
|
15
|
-
* Supported drilldown by multiple keys in {Groonga::Table#group}.
|
16
|
-
* Supported calculation for drilldown in {Groonga::Table#group}.
|
17
|
-
|
18
|
-
h3. Thanks
|
19
|
-
|
20
|
-
* Tasuku SUENAGA a.k.a. gunyarakun
|
21
|
-
|
22
|
-
h2(#4-0-8). 4.0.8: 2014-01-08
|
23
|
-
|
24
|
-
h3. Improvements
|
25
|
-
|
26
|
-
* Supported Groonga 4.0.9. Groonga 4.0.8 or older aren't supported.
|
27
|
-
* Added {Groonga::Column#truncate}. [GitHub#41] [Patch by Hiroshi Hatake]
|
28
|
-
* Added {Groonga::Database#recover}.
|
29
|
-
|
30
|
-
h3. Fixes
|
31
|
-
|
32
|
-
* Fixed a typo in {Groonga::GeoPoint#==}.
|
33
|
-
|
34
|
-
h3. Thanks
|
35
|
-
|
36
|
-
* Hiroshi Hatake
|
37
|
-
|
38
|
-
h2(#4-0-7). 4.0.7: 2014-12-12
|
39
|
-
|
40
|
-
h3. Improvements
|
41
|
-
|
42
|
-
* Supported Groonga 4.0.8. Groonga 4.0.7 or older aren't supported.
|
43
|
-
* Added @:reuse_posting_object@ option to
|
44
|
-
{Groonga::IndexCursor#each}. The option improves performance by
|
45
|
-
reducing memory allocation. The option is disabled by default because
|
46
|
-
reusing the same object isn't Rubyish.
|
47
|
-
* Added {Groonga::IndexColumn#estimate_size}. [GitHub#38]
|
48
|
-
* Accepted string for integer, unsigned integer and float type key.
|
49
|
-
|
50
|
-
h2(#4-0-6). 4.0.6: 2014-11-06
|
51
|
-
|
52
|
-
h3. Improvements
|
53
|
-
|
54
|
-
* Supported Groonga 4.0.7. [GitHub#28]
|
55
|
-
** Changed {Groonga::Context#support_lzo?} always returns @false@.
|
56
|
-
** Added {Groonga::Context#support_lz4?}.
|
57
|
-
** Supported @:lz4@ in {Groonga::Table#define_column} options.
|
58
|
-
** Supported @:lz4@ in {Groonga::VariableSizeColumn#compressed?} options.
|
59
|
-
** Added {Groonga::LZ4Error}.
|
60
|
-
** [grndump] Supported @COMPRESS_ZLIB@ and @COMPRESS_LZ4@ flags.
|
61
|
-
** Added {Groonga::Table::KeySupport#token_filters}.
|
62
|
-
** Added {Groonga::Table::KeySupport#token_filters=}.
|
63
|
-
** Supported @:token_filters@ in {Groonga::Hash.create} options.
|
64
|
-
** Supported @:token_filters@ in {Groonga::PatriciaTrie.create} options.
|
65
|
-
** Supported @:token_filters@ in {Groonga::DoubleArrayTrie.create} options.
|
66
|
-
** Supported @:token_filters@ in {Groonga::Schema.create_table} options.
|
67
|
-
** Added {Groonga::TokenFilterError}.
|
68
|
-
** [grndump] Supported token filters.
|
69
|
-
* Added {Groonga::Expression#keywords}. [GitHub#30]
|
70
|
-
* Stopped to require logger object as the first argument of
|
71
|
-
{Groonga::Logger.register} when block is specified.
|
72
|
-
|
73
|
-
h3. Fixes
|
74
|
-
|
75
|
-
* [doc] Removed deprecated example.
|
76
|
-
[GitHub#26] [Patch by ongaeshi]
|
77
|
-
* Fixed a bug that a column assignment raises an error when
|
78
|
-
you assign value with type A and then assign value type B again.
|
79
|
-
[GitHub#27] [Patch by Daisuke Goto]
|
80
|
-
* Fixed a memory leak in {Groonga::PatriciaTrie#open_near_cursor}.
|
81
|
-
* Fixed a bug that you can access a column renamed by
|
82
|
-
{Groonga::Column#rename} with old name.
|
83
|
-
[GitHub#29] [Patch by Daisuke Goto]
|
84
|
-
* [doc] Fixed wrong option name of {Groonga::Logger.register}.
|
85
|
-
|
86
|
-
h3. Thanks
|
87
|
-
|
88
|
-
* ongaeshi
|
89
|
-
* Daisuke Goto
|
90
|
-
|
91
|
-
h2(#4-0-5). 4.0.5: 2014-10-05
|
92
|
-
|
93
|
-
h3. Improvements
|
94
|
-
|
95
|
-
* [windows] Added cross build task.
|
96
|
-
* Added {Groonga::DoubleArrayTrie#update}.
|
97
|
-
[GitHub#24] [Patch by Masafumi Yokoyama]
|
98
|
-
* Added {Groonga::Record#rename}.
|
99
|
-
* [windows] Disabled debug flags.
|
100
|
-
|
101
|
-
h3. Fixes
|
102
|
-
|
103
|
-
* Added @:id => true@ option to {Groonga::Table::KeySupport#delete}.
|
104
|
-
@Groonga::Table::KeySupport#delete@ accepts both ID and key. If passed
|
105
|
-
value is integer, it is handled as ID. But we can use @Int32@ as key.
|
106
|
-
In the case, we can't delete a record by key. Therefore, we added
|
107
|
-
@Groonga::Table::KeySupport#delete(id, :id => true)@ API. It introduces
|
108
|
-
a backward incompatibility, but it is OK because the current API is a
|
109
|
-
bug.
|
110
|
-
|
111
|
-
h3. Thanks
|
112
|
-
|
113
|
-
* Masafumi Yokoyama
|
114
|
-
|
115
|
-
h2(#4-0-4). 4.0.4: 2014-08-29
|
116
|
-
|
117
|
-
h3. Improvements
|
118
|
-
|
119
|
-
* Supported Groonga 4.0.4 or later. Groonga 4.0.3 or older are not supported.
|
120
|
-
* Added {Groonga::ProcedureType} that has constants as GRN_PROC_XXX.
|
121
|
-
* Added {Groonga::Procedure#type} as grn_proc_get_type().
|
122
|
-
<pre>
|
123
|
-
procedure = Groonga["TokenBigram"]
|
124
|
-
p procedure.type == Groonga::ProcedureType::TOKENIZER #=> true
|
125
|
-
</pre>
|
126
|
-
* Avoided a crash when {Groonga::Record#inspct} is called on exit.
|
127
|
-
[GitHub#18] [Reported by Ippei Obayashi]
|
128
|
-
* Updated Free Software Foundation address. [Masafumi Yokoyama]
|
129
|
-
* Supported reference weight vector. It requires Groonga 4.0.4 or later.
|
130
|
-
* Updated homepage in gemspec to use ranguba.org. [Masafumi Yokoyama]
|
131
|
-
* Reduce memory usage without GC.
|
132
|
-
|
133
|
-
h3. Fixes
|
134
|
-
|
135
|
-
* Fixed a GC related crash when GC is run while {Groonga::Table#group}.
|
136
|
-
|
137
|
-
h3. Thanks
|
138
|
-
|
139
|
-
* Ippei Obayashi
|
140
|
-
* uu59
|
141
|
-
* cosmo0920
|
142
|
-
|
143
|
-
h2(#4-0-3). 4.0.3: 2014-06-04
|
144
|
-
|
145
|
-
h3. Fixes
|
146
|
-
|
147
|
-
* [windows] Fixed a bug that Rroonga reports load error by
|
148
|
-
bundling the fixed version Groonga package.
|
149
|
-
[groonga-dev,02398][Reported by Masafumi Yokoyama]
|
150
|
-
|
151
|
-
h3. Thanks
|
152
|
-
|
153
|
-
* Masafumi Yokoyama
|
154
|
-
|
155
|
-
h2(#4-0-2). 4.0.2: 2014-05-29
|
156
|
-
|
157
|
-
h3. Improvements
|
158
|
-
|
159
|
-
* Removed needless @--key_type@ option in dump.
|
160
|
-
[Reported by Genki Takiuchi]
|
161
|
-
* Added sources information to {Groonga::IndexColumn#inspect}.
|
162
|
-
* Enabled @with_section@ flag for multiple column index by default.
|
163
|
-
See {Groonga::Schema::TableDefinition#index}.
|
164
|
-
* Enabled @with_position@ flag for index of a table that has a default
|
165
|
-
tokenizer by default. You need to specify @:with_position => false@
|
166
|
-
explicitly to disable @with_position@ flag for @TokenDelimit@.
|
167
|
-
@TokenDelimit@ is a tokenizer that doesn't need @with_position@ flag.
|
168
|
-
See {Groonga::Schema.create_table}.
|
169
|
-
|
170
|
-
h3. Fixes
|
171
|
-
|
172
|
-
* [GitHub#16] Fixed a memory leak of {Groonga::Table#column}.
|
173
|
-
[Reported by rutice]
|
174
|
-
|
175
|
-
h3. Thanks
|
176
|
-
|
177
|
-
* rutice
|
178
|
-
* Genki Takiuchi
|
179
|
-
|
180
|
-
h2(#4-0-1). 4.0.1: 2014-04-04
|
181
|
-
|
182
|
-
h3. Improvements
|
183
|
-
|
184
|
-
* Supported Groonga 4.0.1. Groonga 4.0.0 or older are not supported.
|
185
|
-
* Supported no weight match column case.
|
186
|
-
<pre>
|
187
|
-
table.select do |record|
|
188
|
-
match_target = record.match_target do |target|
|
189
|
-
target.column
|
190
|
-
end
|
191
|
-
match_target =~ keyword
|
192
|
-
end
|
193
|
-
</pre>
|
194
|
-
* Supported weight vector.
|
195
|
-
* grndump: Changed to use @--normalizer@ instead of @KEY_NORMALIZE@.
|
196
|
-
Old Groonga can't restore dumped database.
|
197
|
-
* {Groonga::IndexClumn#search}: Added @mode@ option.
|
198
|
-
* {Groonga::IndexClumn#search}: Added @weight@ option.
|
199
|
-
* Accepted String as option key.
|
200
|
-
|
201
|
-
h3. Fixes
|
202
|
-
|
203
|
-
* Fixed a bug that index dump drops index options in Ruby syntax.
|
204
|
-
|
205
|
-
|
206
|
-
h2(#4-0-0). 4.0.0: 2014-02-09
|
207
|
-
|
208
|
-
h3. Improvements
|
209
|
-
|
210
|
-
* Supported Groonga 4.0.0. Groonga 3.1.2 or older are not supported.
|
211
|
-
* Added install document. [Patch by ongaeshi]
|
212
|
-
|
213
|
-
h3. Thanks
|
214
|
-
|
215
|
-
* ongaeshi
|
216
|
-
|
217
|
-
|
218
|
-
h2(#3-1-2). 3.1.2: 2014-01-29
|
219
|
-
|
220
|
-
h3. Improvements
|
221
|
-
|
222
|
-
* Supported Groonga 3.1.2. Groonga 3.1.1 or older are not supported.
|
223
|
-
* Added {Groonga::Table#support_value?}.
|
224
|
-
* Added {Groonga::Record#support_value?}.
|
225
|
-
* Added @_value@ value to {Groonga::Record#attributes} result.
|
226
|
-
[groonga-dev,02046] [Suggested by ongaeshi]
|
227
|
-
* Added column values to {Groonga::Record#inspect} result.
|
228
|
-
[groonga-dev,02048] [Suggested by ongaeshi]
|
229
|
-
* grndump: Added @--dump-indexes@ option that controls schema for
|
230
|
-
indexes output. It is useful to dump only schema for indexes.
|
231
|
-
* Added {Groonga.lock_timeout}.
|
232
|
-
* Added {Groonga.lock_timeout=}.
|
233
|
-
|
234
|
-
h3. Thanks
|
235
|
-
|
236
|
-
* ongaeshi
|
237
|
-
|
238
|
-
h2(#3-1-1). 3.1.1: 2013-12-29
|
239
|
-
|
240
|
-
h3. Improvements
|
241
|
-
|
242
|
-
* Supported Groonga 3.1.1.
|
243
|
-
* [groonga-database-inspect]: Added @--no-tables@ option for hiding
|
244
|
-
all table information.
|
245
|
-
* [groonga-database-inspect]: Added @--no-columns@ option for hiding
|
246
|
-
all column information.
|
247
|
-
* [doc] Updated English mailing list to use Groonga-talk.
|
248
|
-
[GitHub#14] [Patch by Masafumi Yokoyama]
|
249
|
-
* {Groonga::Expression#append_operation} supports operator name.
|
250
|
-
* {Groonga::Expression#append_constant} supports operator name.
|
251
|
-
* {Groonga::Expression#append_object} supports operator name.
|
252
|
-
|
253
|
-
h3. Thanks
|
254
|
-
|
255
|
-
* Masafumi Yokoyama
|
256
|
-
|
257
|
-
h2(#3-1-0). 3.1.0: 2013-11-29
|
258
|
-
|
259
|
-
h3. Improvements
|
260
|
-
|
261
|
-
* Reduced build failure by automatically Groonga build.
|
262
|
-
[Reported by SHIMADA Koji]
|
263
|
-
* Added @groonga-database-inspect@ command that inspects passed database.
|
264
|
-
[Suggested by Genki Takiuchi]
|
265
|
-
* {Groonga::Database#tables} ignores missing objects rather than raising
|
266
|
-
an exception. Because the method is interested in only existing tables.
|
267
|
-
|
268
|
-
h3. Fixes
|
269
|
-
|
270
|
-
* Fixed a bug that {Groonga::Expression#parse} doesn't accept all
|
271
|
-
mode and operators.
|
272
|
-
|
273
|
-
h3. Thanks
|
274
|
-
|
275
|
-
* SHIMADA Koji
|
276
|
-
* Genki Takiuchi
|
277
|
-
|
278
|
-
h2(#3-0-9). 3.0.9: 2013-10-29
|
279
|
-
|
280
|
-
h3. Improvements
|
281
|
-
|
282
|
-
* Supported Groonga 3.0.9.
|
283
|
-
* Supported showing error message on error in {Groonga::Object#remove}.
|
284
|
-
|
285
|
-
h3. Fixes
|
286
|
-
|
287
|
-
* Fixed a crash bug that is caused by assigning @nil@ as source of
|
288
|
-
index column.
|
289
|
-
|
290
|
-
h2(#3-0-8). 3.0.8: 2013-09-29
|
291
|
-
|
292
|
-
h3. Improvements
|
293
|
-
|
294
|
-
* Supported groonga 3.0.8.
|
295
|
-
* Supported x64-mingw32 Ruby.
|
296
|
-
* Supported Ruby 2.1.0 preview1.
|
297
|
-
|
298
|
-
h2(#3-0-7). 3.0.7: 2013-09-19
|
299
|
-
|
300
|
-
h3. Improvements
|
301
|
-
|
302
|
-
* Added {Groonga::Table::KeySupport#tokenize}. It requires groonga
|
303
|
-
3.0.8. Groonga 3.0.8 is not released yet.
|
304
|
-
* Changed return object of {Groonga::Context#select} to groonga-client gem's
|
305
|
-
return object. It is a backward imcompatible change. Some APIs are changed.
|
306
|
-
For example, @drill_down@ is renamed to @drilldowns@. See
|
307
|
-
"Groonga::Client::Response::Select":http://rubydoc.info/gems/groonga-client/Groonga/Client/Response/Select
|
308
|
-
about rerturn object details.
|
309
|
-
** Added groonga-client gem, groogna-command gem, gqtp gem dependencies.
|
310
|
-
|
311
|
-
h3. Fixes
|
312
|
-
|
313
|
-
* Fixed a bug that auto groonga installation is failed.
|
314
|
-
[GitHub#12][Patch by Keita Haga]
|
315
|
-
|
316
|
-
h3. Thanks
|
317
|
-
|
318
|
-
* Keita Haga
|
319
|
-
|
320
|
-
h2(#3-0-6). 3.0.6: 2013-09-13
|
321
|
-
|
322
|
-
h3. Improvements
|
323
|
-
|
324
|
-
* Supported accessing reference column that referes a table that uses
|
325
|
-
Int8/UInt8/Int16/UInt16 key.
|
326
|
-
|
327
|
-
h2(#3-0-5). 3.0.5: 2013-07-29
|
328
|
-
|
329
|
-
h3. Improvements
|
330
|
-
|
331
|
-
* [dumper] supported dumping of DoubleArrayTrie.
|
332
|
-
* Supported Int8/UInt8/Int16/UInt16 to Ruby conversion.
|
333
|
-
[groonga-dev,01524][Reported by Masaharu YOSHIOKA]
|
334
|
-
* Added memory pool mechanism to reduce GC easily.
|
335
|
-
{Groonga::Context#push_memory_pool} and {Groonga::Context#pop_memory_pool}
|
336
|
-
are added.
|
337
|
-
You can close temporary table objects automatically:
|
338
|
-
<pre>
|
339
|
-
context.push_memory_pool do
|
340
|
-
# create tempoeray table objects by select, group, sort and so on...
|
341
|
-
end
|
342
|
-
# createed tempoeray table objects are closed automatically
|
343
|
-
</pre>
|
344
|
-
* Supported max int32 over Fixnum
|
345
|
-
[Reported by xtuaok]
|
346
|
-
|
347
|
-
h3. Fixes
|
348
|
-
|
349
|
-
* [dumper] fixed a bug that no column table isn't dumped.
|
350
|
-
|
351
|
-
h3. Thanks
|
352
|
-
|
353
|
-
* Masaharu YOSHIOKA
|
354
|
-
* xtuaok
|
355
|
-
|
356
|
-
h2(#3-0-4). 3.0.4: 2013-07-04
|
357
|
-
|
358
|
-
h3. Fixes
|
359
|
-
|
360
|
-
* Fixed a rroogna 3.0.3 gem package for Windows.
|
361
|
-
|
362
|
-
h2(#3-0-3). 3.0.3: 2013-07-04
|
363
|
-
|
364
|
-
h3. Improvements
|
365
|
-
|
366
|
-
* Required groonga >= 3.0.5.
|
367
|
-
* Added an error check for creating a result table of {Groonga::Table#select}.
|
368
|
-
* Added {Groonga::Operator::AND_NOT}.
|
369
|
-
* Deprecated {Groonga::Operator::BUT} because groonga deprecated it.
|
370
|
-
Use {Groonga::Operator::AND_NOT} instead.
|
371
|
-
* Added {Groonga::Array#unblock}.
|
372
|
-
* Added @:max_n_sub_records@ option to {Groonga::Table#group}.
|
373
|
-
* Added {Groonga::Table#each_sub_record}.
|
374
|
-
* Supported groonga to Ruby conversion for vector value.
|
375
|
-
* Added @:reference => true@ option to {Groonga::Expression#define_variable}
|
376
|
-
that defines reference type variable.
|
377
|
-
* Added {Groonga::Record#sub_records} that returns sub records for the record.
|
378
|
-
Sub records is a {Groonga::SubRecords} instance.
|
379
|
-
|
380
|
-
h3. Fixes
|
381
|
-
|
382
|
-
* Fixed {Groonga::Expression#[]} return type. It returns {Groonga::Variable}
|
383
|
-
instead of value itself. CAUTION: It is a backward incompatible change.
|
384
|
-
|
385
|
-
h2(#3-0-2). 3.0.2: 2013-05-29
|
386
|
-
|
387
|
-
h3. Improvements
|
388
|
-
|
389
|
-
* Required groonga >= 3.0.4.
|
390
|
-
* Supported set/get a vector of Time.
|
391
|
-
* [grndump] Stopped to dump index only tables. They are needless.
|
392
|
-
* Added {Groonga::Record#to_json}.
|
393
|
-
* Added {Groonga::IndexColumn#add}.
|
394
|
-
* Added {Groonga::IndexColumn#delete}.
|
395
|
-
* Added {Groonga::IndexColumn#update}.
|
396
|
-
* Deprecated {Groonga::IndexColumn#[]=}. Use {Groonga::IndexColumn#add},
|
397
|
-
{Groonga::IndexColumn#delete} or {Groonga::IndexColumn#update} instead.
|
398
|
-
* Added {Groonga::Table#have_n_sub_records_space?}.
|
399
|
-
* [grndump] Don't dump "register PLUGIN" when schema dump is disabled.
|
400
|
-
|
401
|
-
h3. Fixes
|
402
|
-
|
403
|
-
* [grndump]
|
404
|
-
Fixed a bug that reference tables may be dumpped before referenced tables.
|
405
|
-
|
406
|
-
h2(#3-0-1). 3.0.1: 2013-05-01
|
407
|
-
|
408
|
-
h3. Improvements
|
409
|
-
|
410
|
-
* Required groonga >= 3.0.3.
|
411
|
-
* Supported assigning weight to value. See {Groonga::Table#set_column_value},
|
412
|
-
{Groonga::Record#initialize} and {Groonga::Record#[]=} for details.
|
413
|
-
* Renamed to {Groonga::QueryLogger.path} from {Groonga::Logger.query_log_path}.
|
414
|
-
* Renamed to {Groonga::QueryLogger.path=} from {Groonga::Logger.query_log_path=}.
|
415
|
-
* Renamed to {Groonga::Logger.path} from {Groonga::Logger.log_path}.
|
416
|
-
* Renamed to {Groonga::Logger.path=} from {Groonga::Logger.log_path=}.
|
417
|
-
* Added missing "Packnga >= 0.9.7" requirement. [Reported by takkanm]
|
418
|
-
|
419
|
-
h3. Fixes
|
420
|
-
|
421
|
-
* Fixed a memory leak on error.
|
422
|
-
|
423
|
-
h3. Thanks
|
424
|
-
|
425
|
-
* takkanm
|
426
|
-
|
427
|
-
h2(#3-0-0). 3.0.0: 2013-03-29
|
428
|
-
|
429
|
-
h3. Improvements
|
430
|
-
|
431
|
-
* Required groonga >= 3.0.2.
|
432
|
-
* Added block support to {Groonga::Context#create_database}. If a
|
433
|
-
block is given, created database is closed on block exit.
|
434
|
-
* [experimental] Added {Groonga::Array#push}.
|
435
|
-
* [experimental] Added {Groonga::Array#pull}.
|
436
|
-
* Added more closed object checks.
|
437
|
-
[GitHub #8][Reported by KITAITI Makoto]
|
438
|
-
* Added block support to {Groonga::Context#restore}. If a block is
|
439
|
-
given, command and its response are yielded.
|
440
|
-
|
441
|
-
h3. Thanks
|
442
|
-
|
443
|
-
* KITAITI Makoto
|
444
|
-
|
445
|
-
h2(#2-1-3). 2.1.3: 2013-01-29
|
446
|
-
|
447
|
-
h3. Improvements
|
448
|
-
|
449
|
-
* Removed Groonga::View removed in groonga 2.1.2.
|
450
|
-
* [doc] Added tutorial in English.
|
451
|
-
** for English:http://ranguba.org/rroonga/en/file.tutorial.html
|
452
|
-
** for Japanese:http://ranguba.org/rroonga/ja/file.tutorial.html
|
453
|
-
* [context] Added Context#restore. This method restores command dumped
|
454
|
-
by "grndump" command. Please see example below:
|
455
|
-
<pre>
|
456
|
-
!!!ruby
|
457
|
-
dumped_commands = File.read("dump.grn")
|
458
|
-
context.restore(dumped_commands)
|
459
|
-
</pre>
|
460
|
-
* Supported new logger API in groonga. Old API isn't used anymore.
|
461
|
-
* For installing groonga with this gem:
|
462
|
-
** Stopped to install documentation about groonga. See "Web site":http://groonga.org/docs/ instead.
|
463
|
-
** Stopped to build static library because it isn't used by rroonga.
|
464
|
-
|
465
|
-
h3. Fixes
|
466
|
-
|
467
|
-
* [dumper] Reduced needless new lines in dumped commands.
|
468
|
-
|
469
|
-
* For ranguba project:
|
470
|
-
** [template] Removed needless block for sponsor by rubyforge.
|
471
|
-
** [template] Removed needless piwik tag.
|
472
|
-
** [template] Fixed URLs of references in Japanese.
|
473
|
-
|
474
|
-
h2(#2-1-2). 2.1.2: 2013-01-04
|
475
|
-
|
476
|
-
h3. Fixes
|
477
|
-
|
478
|
-
* Fixed GC related crash. Table's domain and range are also marked.
|
479
|
-
|
480
|
-
h2(#2-1-1). 2.1.1: 2012-12-29
|
481
|
-
|
482
|
-
h3. Improvements
|
483
|
-
|
484
|
-
* Required groonga 2.1.1 because groonga 2.1.0 has a serious bug
|
485
|
-
related to key normalization.
|
486
|
-
|
487
|
-
h2(#2-1-0). 2.1.0: 2012-12-29
|
488
|
-
|
489
|
-
h3. Improvements
|
490
|
-
|
491
|
-
* Required groonga 2.1.0.
|
492
|
-
* Supported mass record deletion with block.
|
493
|
-
[groonga-dev,01138][Suggested by ongaeshi]
|
494
|
-
* Added Groonga::Normalizer.normalize (experimental). It normalize string.
|
495
|
-
e.g.)
|
496
|
-
Groonga::Normalizer.normalize("AbC") # => "abc"
|
497
|
-
Now, it removes any spaces by default, but it will be customized soon.
|
498
|
-
* Supported :normalizer option in DoubleArrayTrie, PatriciaTrie, Hash,
|
499
|
-
Schema when creating tables.
|
500
|
-
* [table] Added using normalizer accessor.
|
501
|
-
* [table] Used normalizer for checking key normalization is enabled or not.
|
502
|
-
* Added groonga-index-dump tool (experimental).
|
503
|
-
This tool dumps infomations for each index from DB.
|
504
|
-
Dumped informations are contained at "INDEX_NAME.dump" files in
|
505
|
-
"TARGET_TABLE_NAME.index_INDEX_COLUMN_NAME".
|
506
|
-
e.g.)
|
507
|
-
|
508
|
-
<pre>
|
509
|
-
$ cat index-dump.sdf
|
510
|
-
table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32
|
511
|
-
table_create --name Tag --flags TABLE_HASH_KEY --key_type ShortText
|
512
|
-
column_create --table Video --name title --flags COLUMN_SCALAR --type ShortText
|
513
|
-
column_create --table Video --name tags --flags COLUMN_VECTOR --type Tag
|
514
|
-
column_create --table Tag --name index_tags --flags COLUMN_INDEX --type Video --source tags
|
515
|
-
load --table Video
|
516
|
-
[
|
517
|
-
{"_key":1,"title":"groonga Demo","tags":["IT","Server","groonga"]},
|
518
|
-
{"_key":2,"title":"Ultra Baseball","tags":["Sports","Baseball"]},
|
519
|
-
]
|
520
|
-
$ groonga --file index-dump.sdf -n index-dump.db
|
521
|
-
$ groonga-index-dump --output-directory=path/to/index/ index-dump.db
|
522
|
-
$ cd path/to/index/
|
523
|
-
$ ls Tag.index_tags
|
524
|
-
Baseball.dump IT.dump Server.dump Sports.dump groonga.dump
|
525
|
-
$ cat path/to/index/Tag.index_tags/groonga.dump
|
526
|
-
index: Tag.index_tags term: <groonga> domain: Tag range: Video have_section: false have_weight: false have_position: false
|
527
|
-
weight position term_frequency record
|
528
|
-
0 2 1 Video[ 1 ].tags
|
529
|
-
</pre>
|
530
|
-
|
531
|
-
* Added flag options to Groonga::IndexColumn#open_cursor.
|
532
|
-
The flag options are :with_section, :with_weight, :with_position.
|
533
|
-
They are enabled by default if each option is specified in creating
|
534
|
-
a index column.
|
535
|
-
* [Snippet] Showed the error message when specified context wasn't
|
536
|
-
associated with a database by Groonga::Database#open or #create.
|
537
|
-
* [inspect] Supported to display index column related flags for index
|
538
|
-
column only.
|
539
|
-
"index column related flags" are WITH_SECTION, WITH_WEIGHT and
|
540
|
-
WITH_POSITION.
|
541
|
-
* [inspect] Added default tokenizer and normalizer infomation.
|
542
|
-
* Supported Groonga::QueryLogger. This class is used to log query log.
|
543
|
-
Please see its reference for detail.
|
544
|
-
|
545
|
-
h3. Changes
|
546
|
-
|
547
|
-
* Move groonga-query-log-extract to groonga-query-log.
|
548
|
-
Please install groogna-query-log gem to use this tool.
|
549
|
-
how to install:
|
550
|
-
gem install groonga-query-log
|
551
|
-
* Returned Groonga::Array instead of Array by Table#sort.
|
552
|
-
[GitHub: #8][Suggested by Genki Takiuchi]
|
553
|
-
CAUTION: This is backward incompatible change. You need to use
|
554
|
-
record.value to get the original record.
|
555
|
-
The following code shows how to use old style:
|
556
|
-
result_since_2_1_0 = table.sort(["sort_key"])
|
557
|
-
result_before_2_1_0 = result_since_2_1_0.collect do |record|
|
558
|
-
record.value
|
559
|
-
end
|
560
|
-
|
561
|
-
h3. Thanks
|
562
|
-
|
563
|
-
* ongaeshi
|
564
|
-
* Genki Takiuchi
|
565
|
-
|
566
|
-
h2(#2-0-8). 2.0.8: 2012-12-02
|
567
|
-
|
568
|
-
h3. Improvements
|
569
|
-
|
570
|
-
* Required groonga 2.0.9.
|
571
|
-
|
572
|
-
h2(#2-0-7). 2.0.7: 2012-11-29
|
573
|
-
|
574
|
-
h3. Improvements
|
575
|
-
|
576
|
-
* Added Groonga::Posting#record. This method returns the record for
|
577
|
-
the record ID in table.
|
578
|
-
* Added Groonga::Posting#term. This method returns the record for the
|
579
|
-
term ID in table.
|
580
|
-
* Supported GRN_OBJ_KEY_VAR_SIZE for Groonga::Type#inspect.
|
581
|
-
GRN_OBJ_KEY_CAR_SIZE specifies its column is variable size.
|
582
|
-
* [Type] Added reader methods to Groonga::Type (#size and #flags).
|
583
|
-
* [Type] Added predicate methods to Groonga::Type.
|
584
|
-
Added methods are #fixed_size?, #variable_size?, #unsigned_integer?,
|
585
|
-
#integer?, #float? and #geo_point?.
|
586
|
-
|
587
|
-
h3. Changes
|
588
|
-
|
589
|
-
* Removed query log related codes.
|
590
|
-
This feature moved to groonga-query-log gem and it is relased soon.
|
591
|
-
|
592
|
-
h2(#2-0-6). 2.0.6: 2012-10-25
|
593
|
-
|
594
|
-
h3. Improvements
|
595
|
-
|
596
|
-
* [dump] Put index columns at the bottom (after loads).
|
597
|
-
It is for using offline index construction.
|
598
|
-
* Added term_extract in Table#select by @table.select {|record|
|
599
|
-
record.key.term_extract(text)}@ syntax.
|
600
|
-
* Supported :allow_leading_not as a option of #select.
|
601
|
-
You should use this option carefully. It takes a long time to search
|
602
|
-
all records which doesn't include a word. In addition, when the
|
603
|
-
number of records is large, to search them with this option is
|
604
|
-
slowly.
|
605
|
-
|
606
|
-
h3. Changes
|
607
|
-
|
608
|
-
* Changed option name for debug build in extconf.rb from --with-debug
|
609
|
-
to --enable-debug-log.
|
610
|
-
|
611
|
-
h3. Fixes
|
612
|
-
|
613
|
-
* Fixed display collapse in the references.
|
614
|
-
|
615
|
-
h2(#2-0-5). 2.0.5: 2012-09-28
|
616
|
-
|
617
|
-
h3. Improvements
|
618
|
-
|
619
|
-
* Supported groonga 2.0.7.
|
620
|
-
* Removed the workaround to install rroonga with old groonga.
|
621
|
-
* Added more error checks.
|
622
|
-
* Added Database#tables. [Suggested by @temitan]
|
623
|
-
* Supported Enumerator for #each on Database, Table, TableCursor and
|
624
|
-
IndexCursor.
|
625
|
-
* Added WGS84GeoPoint and TokyoGeoPoint.
|
626
|
-
* [dumper] supported dumping of WGS84GeoPoint and TokyoGeoPoint.
|
627
|
-
* [dumper] worked on non UTF-8 extenal output encoding environment.
|
628
|
-
* [dumper] sorted table and column names.
|
629
|
-
* [dumper] ignored invalid byte.
|
630
|
-
* [grndump] showed the warning for invalid character.
|
631
|
-
* [grndump] supported database that is created by old groonga.
|
632
|
-
* Added Groonga::Context#ruby_encoding.
|
633
|
-
* Added many documents in codes but showed no references.
|
634
|
-
|
635
|
-
h3. Fixes
|
636
|
-
|
637
|
-
* Added missing backslash escape for groonga command.
|
638
|
-
|
639
|
-
h3. Thanks
|
640
|
-
|
641
|
-
* @temitan
|
642
|
-
|
643
|
-
h2(#2-0-4). 2.0.4: 2012-05-02
|
644
|
-
|
645
|
-
h3. Fixes
|
646
|
-
|
647
|
-
* Fixed a bug that weight of match target is ignored.
|
648
|
-
|
649
|
-
h2(#2-0-3). 2.0.3: 2012-05-02
|
650
|
-
|
651
|
-
h3. Improvements
|
652
|
-
|
653
|
-
* Supported groonga 2.0.2.
|
654
|
-
* Groonga::Table#each supports options that are same as
|
655
|
-
Groonga::Table#open_cursor's one.
|
656
|
-
* [grndump] added @--order-by=id@ option. With this option, dumped
|
657
|
-
records are sorted by ID instead of key. You can restore records
|
658
|
-
without ID change if you don't delete any records. [#1341]
|
659
|
-
* Supported building on Windows with RubyInstaller for Windows with DevKit.
|
660
|
-
[GitHub#6] [Patch by @ongaeshi]
|
661
|
-
* Supported similar search by @table.select {|record|
|
662
|
-
record.column.similar_search(text)}@ syntax.
|
663
|
-
|
664
|
-
h3. Fixes
|
665
|
-
|
666
|
-
* Fixed a GC related crach bug.
|
667
|
-
|
668
|
-
h3. Thanks
|
669
|
-
|
670
|
-
* @ongaeshi
|
671
|
-
|
672
|
-
h2(#2-0-2). 2.0.2: 2012-03-29
|
673
|
-
|
674
|
-
h3. Improvements
|
675
|
-
|
676
|
-
* Supported groonga 2.0.1.
|
677
|
-
* Added "logos":http://groonga.rubyforge.org/#logo .
|
678
|
-
|
679
|
-
h3. Fixes
|
680
|
-
|
681
|
-
* Fixed a Groonga::Snipet related crach bug caused by GC.
|
682
|
-
|
683
|
-
h2(#2-0-0). 2.0.0: 2012-03-22
|
684
|
-
|
685
|
-
h3. Improvements
|
686
|
-
|
687
|
-
* Supported groonga 2.0.0.
|
688
|
-
* [gem][windows] Removed mswin packages.
|
689
|
-
|
690
|
-
h3. Fixes
|
691
|
-
|
692
|
-
* [test] Fixed version test failure. [GitHub#4] [Reported by @takkanm]
|
693
|
-
* Fixed a Groonga::Expression related crach bug caused by GC.
|
694
|
-
* [doc] Fixed broken HTML output. [groonga-dev,00699]
|
695
|
-
[Reported by Hirano]
|
696
|
-
|
697
|
-
h3. Thanks
|
698
|
-
|
699
|
-
* @takkanm
|
700
|
-
* Hirano
|
701
|
-
|
702
|
-
h2(#1-3-1). 1.3.1: 2012-01-29
|
703
|
-
|
704
|
-
h3. Improvements
|
705
|
-
|
706
|
-
* Supported groonga 1.3.0.
|
707
|
-
* [schema] Supported Int8, Int16, UInt8 and UInt16.
|
708
|
-
* [schema] Supported TokyoGeoPoint and WGS84GeoPoint.
|
709
|
-
* [schema][dumper] Supported Boolean and more built-in types.
|
710
|
-
[Reported by @mashiro]
|
711
|
-
* [schema] Supported type object as column type. [#1002]
|
712
|
-
* Added Groonga::VariableSizeColumn#compressed?. [#1004]
|
713
|
-
* Added Groonga::Record#score=.
|
714
|
-
* Improve performance for encoded string.
|
715
|
-
* Added Groonga::Command::Builder.escape_value.
|
716
|
-
|
717
|
-
h3. Thanks
|
718
|
-
|
719
|
-
* @mashiro
|
720
|
-
|
721
|
-
h2(#1-3-0). 1.3.0: 2011-11-29
|
722
|
-
|
723
|
-
h3. Improvements
|
724
|
-
|
725
|
-
* [schema] Remove also needless db.tables/ directory if it is empty.
|
726
|
-
* [schema] Remove also needless db.tables/table.columns/ directory if it is empty.
|
727
|
-
* Added query log parser.
|
728
|
-
* Added groonga-query-log-extract command.
|
729
|
-
* Added grntest log analyzer.
|
730
|
-
* Added JSON gem dependency.
|
731
|
-
* Supported groonga 1.2.8.
|
732
|
-
* Dropped groonga 1.2.7 or former support.
|
733
|
-
* Added Groonga::Table#defrag.
|
734
|
-
* Added Groonga::Table#rename.
|
735
|
-
* Added Groonga::Column#rename.
|
736
|
-
* Added Groonga::DoubleArrayTrie.
|
737
|
-
* [schema] Supported table rename.
|
738
|
-
* [schema] Supported column rename.
|
739
|
-
* [schema] Supported double array trie.
|
740
|
-
|
741
|
-
h3. Changes
|
742
|
-
|
743
|
-
* [schema] Don't use named path by default for location aware DB.
|
744
|
-
|
745
|
-
h3. Fixes
|
746
|
-
|
747
|
-
* Fixed a crash problem on GC.
|
748
|
-
|
749
|
-
h2. 1.2.9: 2011-09-16
|
750
|
-
|
751
|
-
h3. Fixes
|
752
|
-
|
753
|
-
* deleted unneed object files.
|
754
|
-
|
755
|
-
h2. 1.2.8: 2011-09-16
|
756
|
-
|
757
|
-
h3. Improvements
|
758
|
-
|
759
|
-
* supported "!=" expression for column in block of Groonga::Table#select.
|
760
|
-
* accepted Hash like object as options.
|
761
|
-
* supported vector in dump in Ruby syntax.
|
762
|
-
* supported GRN_CTX_PER_DB environment variables.
|
763
|
-
(NOTE: You should pay attention to use this variables.)
|
764
|
-
|
765
|
-
h2. 1.2.7: 2011-08-29
|
766
|
-
|
767
|
-
h3. Improvements
|
768
|
-
|
769
|
-
* Added Groonga::Snippet#close that frees resource.
|
770
|
-
|
771
|
-
h3. Fixes
|
772
|
-
|
773
|
-
* Fixed build error on Ruby 1.8.7.
|
774
|
-
|
775
|
-
h2. 1.2.6: 2011-08-29
|
776
|
-
|
777
|
-
h3. Improvements
|
778
|
-
|
779
|
-
* Supported groonga 1.2.5.
|
780
|
-
* Added Groonga::Record#added? that returns true when the record is just added.
|
781
|
-
* Added Groonga::VariableSizeColumn#defrag? that defrags the column.
|
782
|
-
* Added Groonga::Database#defrag that defrags the all variable size columns.
|
783
|
-
* Supported column name specification by symbol.
|
784
|
-
|
785
|
-
h3. Fixes
|
786
|
-
|
787
|
-
* Fixed install *.rb failure by gem install.
|
788
|
-
* Fixed some memory leaks.
|
789
|
-
* Fixed crash bug on exit.
|
790
|
-
|
791
|
-
h2. 1.2.5: 2011-08-05
|
792
|
-
|
793
|
-
h3. Improvements
|
794
|
-
|
795
|
-
* Re-supported tar.gz distribution.
|
796
|
-
* Added Groonga::Context#close.
|
797
|
-
* Added Groonga::Context#closed?.
|
798
|
-
* Deprecated Groonga::ObjectClosed. Use Groonga::Closed instead.
|
799
|
-
* grndump: Added --exclude-table option that specifies not dumped tables.
|
800
|
-
* dump: Removed path equality check.
|
801
|
-
|
802
|
-
h3. Fixes
|
803
|
-
|
804
|
-
* dump: Fixed wrong index table type.
|
805
|
-
* Re-supported auto groonga install.
|
806
|
-
|
807
|
-
h2. 1.2.4: 2011-06-29
|
808
|
-
|
809
|
-
h3. Improvements
|
810
|
-
|
811
|
-
* Supported groonga 1.2.3.
|
812
|
-
|
813
|
-
h3. Fixes
|
814
|
-
|
815
|
-
* Re-supported auto groonga install.
|
816
|
-
* Added missing pkg-config gem dependency.
|
817
|
-
|
818
|
-
h2. 1.2.3: 2011-06-27
|
819
|
-
|
820
|
-
h3. Fixes
|
821
|
-
|
822
|
-
* remove object files in gem packages.
|
823
|
-
* fix charactor corruption in reference.
|
824
|
-
|
825
|
-
h2. 1.2.2: 2011-06-27
|
826
|
-
|
827
|
-
h3. Improvements
|
828
|
-
|
829
|
-
* created "Developers" page in English.
|
830
|
-
* added description for tasks of "html:publish" and "publish".
|
831
|
-
|
832
|
-
h3. Changes
|
833
|
-
|
834
|
-
* Groonga::Record#attributes return same attributes object for duplicate records.
|
835
|
-
* added document for Groonga::Record#attributes.
|
836
|
-
* changed tool name in document page for creating document.
|
837
|
-
* moved NEWS*.rdoc and tutorial.texttile to doc/text/.
|
838
|
-
|
839
|
-
h3. Fixes
|
840
|
-
|
841
|
-
* fixed the tutorial path in index page.
|
842
|
-
* fixed the path of tutorial in index page in English.
|
843
|
-
* follow the groonga downlowd URL change. [mallowlabs]
|
844
|
-
|
845
|
-
h3. Thanks
|
846
|
-
|
847
|
-
* mallowlabs
|
848
|
-
|
849
|
-
h2. 1.2.1: 2011-06-07
|
850
|
-
|
851
|
-
h3. Improvements
|
852
|
-
|
853
|
-
* added document of Groonga::Table#pagination.
|
854
|
-
* added grndump in package.
|
855
|
-
* corresponded recursive reference of Records by Groonga::Record#attributes.
|
856
|
-
(experimental) [mooz]
|
857
|
-
* Groonga::Record#attributes supported data including _score.
|
858
|
-
* corresponded Windows for 64-bit.
|
859
|
-
(but there's not 64-bit ruby, so rroonga for 64-bit windows cannot run.)
|
860
|
-
* added Groonga::Posting.
|
861
|
-
* added :delimit, :token_delimiter for alias of TokenDelimit.
|
862
|
-
* Groonga::DatabaseDumper#dump corresponded lexicon table.
|
863
|
-
* Groonga::DatabaseDumper#dump corresponded data including plugin.
|
864
|
-
* added Groonga::IndexColumn#open_cursor. [yoshihara]
|
865
|
-
* added Groonga::IndexCursor. [yoshihara]
|
866
|
-
* added Groonga::Object#builtin?. [yoshihara]
|
867
|
-
|
868
|
-
h3. Changes
|
869
|
-
|
870
|
-
* check existence of column before removing it.
|
871
|
-
* removed grn expression document.
|
872
|
-
|
873
|
-
h3. Thanks
|
874
|
-
|
875
|
-
* mooz
|
876
|
-
* yoshihara
|
877
|
-
|
878
|
-
h2. 1.2.0: 2011-04-01
|
879
|
-
|
880
|
-
h3. Improvements
|
881
|
-
|
882
|
-
* Supported groonga 1.2.0.
|
883
|
-
* Added Groonga::Accessor#local_name.
|
884
|
-
* Added Groonga::IndexColumn#with_section?.
|
885
|
-
* Added Groonga::IndexColumn#with_weight?.
|
886
|
-
* Added Groonga::IndexColumn#with_position?.
|
887
|
-
* Groonga::Schema.dump supported groonga command format dump.
|
888
|
-
* Added grndump command.
|
889
|
-
* Groonga::Database#each supports order customize.
|
890
|
-
* Added Groonga::Context#match_escalation_threshold.
|
891
|
-
* Added Groonga::Context#match_escalation_threshold=.
|
892
|
-
* Improved error message.
|
893
|
-
* Supported Rubyish name like :short_text instead of the
|
894
|
-
official type name like "ShortText" in Groonga::Schema.
|
895
|
-
|
896
|
-
h2. 1.1.0: 2011-02-09
|
897
|
-
|
898
|
-
h3. Improvements
|
899
|
-
|
900
|
-
* Supported groonga 1.1.0.
|
901
|
-
* Added Groonga::Plugin.register.
|
902
|
-
|
903
|
-
h2. 1.0.9: 2011-01-29
|
904
|
-
|
905
|
-
h3. Improvements
|
906
|
-
|
907
|
-
* Supported gem creation on Windows. [Patch by ongaeshi]
|
908
|
-
* Supported generated directory that is created by Groonga::Schema removal
|
909
|
-
when table or column is removed.
|
910
|
-
* Added Groonga::Context#create_database.
|
911
|
-
* Added Groonga::Context#open_database.
|
912
|
-
* Added Groonga::Column#indexes.
|
913
|
-
* Supported a notation for specifying index column as match target in
|
914
|
-
Groonga::Table#select:
|
915
|
-
table.select do |record|
|
916
|
-
record.match("query") do |match_record|
|
917
|
-
(match_record.index("Terms.title") * 1000) |
|
918
|
-
(match_record.index("Terms.description") * 100)
|
919
|
-
match_record.content
|
920
|
-
end
|
921
|
-
end
|
922
|
-
* Supported prefix search in Groonga::Table#select:
|
923
|
-
table.select do |record|
|
924
|
-
record.name.prefix_search("groo")
|
925
|
-
end
|
926
|
-
* Supported suffix search in Groonga::Table#select:
|
927
|
-
table.select do |record|
|
928
|
-
record.name.suffix_search("nga")
|
929
|
-
end
|
930
|
-
* Supported :default_tokenizer schema dump.
|
931
|
-
* Supported :key_normalize schema dump.
|
932
|
-
* Supported pseudo columns by Groonga::Table#have_column?.
|
933
|
-
* Supported pseudo columns by Groonga::Record#have_column?.
|
934
|
-
|
935
|
-
h3. Changes
|
936
|
-
|
937
|
-
* Renamed Groonga::Operatoion to Groonga::Operator.
|
938
|
-
(Groonga::Operation is deprecated but still usable.)
|
939
|
-
|
940
|
-
h3. Fixes
|
941
|
-
|
942
|
-
* Fixed a crash bug when not default Groonga::Context is used in
|
943
|
-
Groonga::Table#select.
|
944
|
-
* Fixed a crash bug when an exception is occurred.
|
945
|
-
|
946
|
-
h3. Thanks
|
947
|
-
|
948
|
-
* ongaeshi
|
949
|
-
|
950
|
-
h2. 1.0.8: 2010-12-25
|
951
|
-
|
952
|
-
h3. Improvements
|
953
|
-
|
954
|
-
* Improved Groonga::Schema's n-gram tokenizer detect process.
|
955
|
-
|
956
|
-
h3. Fixes
|
957
|
-
|
958
|
-
* Fixed GC problem caused by match_target in select.
|
959
|
-
|
960
|
-
h2. 1.0.7: 2010-12-19
|
961
|
-
|
962
|
-
h3. Fixes
|
963
|
-
|
964
|
-
* Supported pkg-config installed by RubyGems on Ruby 1.8. [Reported by @kamipo]
|
965
|
-
* Fixed a memory leak in Groonga::Table#columns.
|
966
|
-
|
967
|
-
h3. Thanks
|
968
|
-
|
969
|
-
* @kamipo
|
970
|
-
|
971
|
-
h2. 1.0.5: 2010-11-29
|
972
|
-
|
973
|
-
h3. Improvements
|
974
|
-
|
975
|
-
* Added snail_case type name aliases for built-in groonga types
|
976
|
-
to Groonga::Schema.
|
977
|
-
|
978
|
-
h3. Fixes
|
979
|
-
|
980
|
-
* Fixed a crash bug on GC. [Ryo Onodera]
|
981
|
-
|
982
|
-
h2. 1.0.4: 2010-11-29
|
983
|
-
|
984
|
-
h3. Improvements
|
985
|
-
|
986
|
-
* Supported groonga 1.0.4.
|
987
|
-
* Added Groonga::UnsupportedCommandVersion.
|
988
|
-
* Added Groonga::Record#support_sub_records?.
|
989
|
-
* Added Groonga::Record#eql?とGroonga::Record#hash.
|
990
|
-
(treat two the same table and the same record ID object as the same Hash key.)
|
991
|
-
* Supported pkg-config gem.
|
992
|
-
* Supported generic #record_id object handle for custom record object
|
993
|
-
in Groonga::Table#select.
|
994
|
-
* Added Groonga::Record#record_id.
|
995
|
-
* Added Groonga::Table#support_key?.
|
996
|
-
* Added Groonga::Record#support_key?.
|
997
|
-
* Added Groonga::Record#support_key?.
|
998
|
-
* Added Groonga::Column#reference_key?.
|
999
|
-
* Added Groonga::Column#index_column?.
|
1000
|
-
* Added Groonga::Schema#dump.
|
1001
|
-
* Supported multi columns index creation in Groonga::Schema.
|
1002
|
-
* Supported meaningful path in Groonga::Schema.
|
1003
|
-
* Made reference table omissible when index column definition
|
1004
|
-
in Groonga::Schema.
|
1005
|
-
* Added Groonga::Schema.remove_column.
|
1006
|
-
* Added convenience timestamps methods to define "created_at" and
|
1007
|
-
"updated_at" columns in Groonga::Schema.
|
1008
|
-
* Added Groonga::Context#support_zlib?.
|
1009
|
-
* Added Groonga::Context#support_lzo?.
|
1010
|
-
* Added Groonga::Database#touch.
|
1011
|
-
* Added Groonga::Table#exist?.
|
1012
|
-
* Added Groonga::Record#valid?.
|
1013
|
-
* Added Groonga::Column#vector?.
|
1014
|
-
* Added Groonga::Column#scalar?.
|
1015
|
-
* Added Groonga::Record#vector_column?.
|
1016
|
-
* Added Groonga::Record#scalar_column?.
|
1017
|
-
* Accepted any object that has record_raw_id method for record ID required
|
1018
|
-
location. Groonga::Record isn't required.
|
1019
|
-
* Added Groonga::Record#record_raw_id.
|
1020
|
-
* Accepted any object that as to_ary method for reference vector column value.
|
1021
|
-
|
1022
|
-
h2. Changes
|
1023
|
-
|
1024
|
-
* Used :key as the default value of :order_by of
|
1025
|
-
Groonga::PatriciaTrie#open_cursor.
|
1026
|
-
* Removed a deprecated Groonga::TableKeySupport#find.
|
1027
|
-
* Used ShortText as the default key type of
|
1028
|
-
Groonga::Hash#create and Groonga::PatriciaTrie#create.
|
1029
|
-
* Renamed Groonga::Schema#load to Groonga::Schema#restore.
|
1030
|
-
* Supported pkg-confg 1.0.7.
|
1031
|
-
* Added Groonga::Column#index? and deprecated Groonga::Column#index_column?.
|
1032
|
-
* Added Groonga::Column#reference? and deprecated
|
1033
|
-
Groonga::Column#reference_column?.
|
1034
|
-
|
1035
|
-
h3. Fixes
|
1036
|
-
|
1037
|
-
* Fixed index for key isn't be able to define.
|
1038
|
-
* Fixed a crash problem on GC.
|
1039
|
-
|
1040
|
-
h2. 1.0.1: 2010-09-12
|
1041
|
-
|
1042
|
-
h3. Fixes
|
1043
|
-
|
1044
|
-
* Fixed wrong flag used on creating a table. [Reported by ono matope]
|
1045
|
-
|
1046
|
-
h3. Thanks
|
1047
|
-
|
1048
|
-
* ono matope
|
1049
|
-
|
1050
|
-
h2. 1.0.0: 2010-08-29
|
1051
|
-
|
1052
|
-
* Supported groonga 1.0.0.
|
1053
|
-
* Added Groonga::CASError.
|
1054
|
-
* Added :order_by option to Groonga::Table#open_cursor.
|
1055
|
-
* Added Groonga::PatriciaTrie#open_prefix_cursor that creates a cursor
|
1056
|
-
to retrieve each records by prefix search.
|
1057
|
-
* Added Groonga::PatriciaTrie#open_rk_cursor that creats a cursor to
|
1058
|
-
retrieve katakana keys from roman letters and/or hiragana.
|
1059
|
-
* Added Groonga::PatriciaTrie#open_near_cursor that creates a cursor to
|
1060
|
-
retrieve records order by distance from key.
|
1061
|
-
* Supported _key as index source.
|
1062
|
-
|
1063
|
-
h2. 0.9.5: 2010-07-20
|
1064
|
-
|
1065
|
-
* Supported groonga 0.7.4.
|
1066
|
-
* Imporoved Groonga::Table#select:
|
1067
|
-
* Supported weight match:
|
1068
|
-
|
1069
|
-
Here is an example to match source column or title column and
|
1070
|
-
title column has high score:
|
1071
|
-
table.select do |record|
|
1072
|
-
(record.title * 10 | record.source) =~ "query"
|
1073
|
-
end
|
1074
|
-
* Supported and representation for and conditions:
|
1075
|
-
|
1076
|
-
Here are examples that represents the same condition:
|
1077
|
-
table.select do |record|
|
1078
|
-
conditions = []
|
1079
|
-
conditions << record.title =~ "query"
|
1080
|
-
conditions << record.updated_at > Time.parse("2010-07-29T21:14:29+09:00")
|
1081
|
-
conditions
|
1082
|
-
end
|
1083
|
-
|
1084
|
-
table.select do |record|
|
1085
|
-
(record.title =~ "query") &
|
1086
|
-
(record.updated_at > Time.parse("2010-07-29T21:14:29+09:00"))
|
1087
|
-
end
|
1088
|
-
* Provided groonga runtime version: Groonga::VERSION
|
1089
|
-
* Added Groonga::Table#support_sub_records?
|
1090
|
-
* Supported pagination: Groonga::Table#paginate, Groonga::Pagination
|
1091
|
-
|
1092
|
-
h2. 0.9.4: 2010-04-22
|
1093
|
-
|
1094
|
-
* Fixed release miss.
|
1095
|
-
|
1096
|
-
h2. 0.9.3: 2010-04-22
|
1097
|
-
|
1098
|
-
* Fixed release miss.
|
1099
|
-
|
1100
|
-
h2. 0.9.2: 2010-04-22
|
1101
|
-
|
1102
|
-
* Supported groonga 0.1.9.
|
1103
|
-
* Many.
|
1104
|
-
|
1105
|
-
h2. 0.9.1: 2010-02-09
|
1106
|
-
|
1107
|
-
* Supported groonga 0.1.6
|
1108
|
-
|
1109
|
-
h2. 0.9.0: 2010-02-09
|
1110
|
-
|
1111
|
-
* Supported groonga 0.1.5
|
1112
|
-
* Added API
|
1113
|
-
* Groonga::Object#context
|
1114
|
-
* Groonga::Record#n_sub_records
|
1115
|
-
* Groonga::Context#send
|
1116
|
-
* Groonga::Context#receive
|
1117
|
-
* Groonga::PatriciaTrie#prefix_search [Tasuku SUENAGA]
|
1118
|
-
* Groonga::Object#path [Ryo Onodera]
|
1119
|
-
* Groonga::Object#lock [Tasuku SUENAGA]
|
1120
|
-
* Groonga::Object#unlock [Tasuku SUENAGA]
|
1121
|
-
* Groonga::Object#locked? [Tasuku SUENAGA]
|
1122
|
-
* Groonga::Object#temporary?
|
1123
|
-
* Groonga::Object#persistent?
|
1124
|
-
* Groonga::ObjectClosed
|
1125
|
-
* Groonga::Context.[]
|
1126
|
-
* Groonga::Table#column_value
|
1127
|
-
* Groonga::Table#set_column_value
|
1128
|
-
* Changed API
|
1129
|
-
* Groonga::Table#select, Groonga::Column#select
|
1130
|
-
* They also accept Groonga::Expression
|
1131
|
-
* Added :syntax option that specifies grn expression syntax
|
1132
|
-
* Groonga::Table#open_cursor
|
1133
|
-
* Added :offset option that specifies offset.
|
1134
|
-
* Added :limit option that specifies max number of records.
|
1135
|
-
* Changed Groonga::Expression.parse options:
|
1136
|
-
* (nil (default) -> :column) -> (nil (default) -> :query)
|
1137
|
-
* :column -> removed
|
1138
|
-
* :table -> :query
|
1139
|
-
* :table_query -> :query
|
1140
|
-
* :expression -> :script
|
1141
|
-
* :language -> :script
|
1142
|
-
* Groonga::Table#define_column, Groonga::Table#define_index_column
|
1143
|
-
* Defined column becomes persistent table by default
|
1144
|
-
* Groonga::Table#[] -> Groonga::Table#value
|
1145
|
-
* Groonga::Table#[]= -> Groonga::Table#set_value
|
1146
|
-
* Groonga::Table#find -> Groonga::Table#[]
|
1147
|
-
* Groonga::Table#find -> obsolete
|
1148
|
-
* Groonga::Table#[]= -> removed
|
1149
|
-
* Groonga::TableKeySupport#[]= is alias of Groonga::TableKeySupport#add
|
1150
|
-
* Changed exception class to Groonga::NoSuchColumn from
|
1151
|
-
Groonga::InvalidArgument when Groonga::Record accesses nonexistent
|
1152
|
-
a column.
|
1153
|
-
* Bug fixes
|
1154
|
-
* Fixed a bug that context isn't passed to schema [dara]
|
1155
|
-
* Fixed a bug that Groonga::PatriciaTrie#tag_keys doesn't return
|
1156
|
-
that last text. [Ryo Onodera]
|
1157
|
-
* Added --with-debug option to extconf.rb for debug build.
|
1158
|
-
* Fixed a bug that Ruby 1.9.1 may fail extconf.rb.
|
1159
|
-
|
1160
|
-
h3. Thanks
|
1161
|
-
|
1162
|
-
* dara
|
1163
|
-
* Ryo Onodera
|
1164
|
-
* Tasuku SUENAGA
|
1165
|
-
|
1166
|
-
h2. 0.0.7: 2009-10-02
|
1167
|
-
|
1168
|
-
* Supported groonga 0.1.4
|
1169
|
-
* Added API
|
1170
|
-
* Groonga::PatriciaTrie#scan
|
1171
|
-
* Groonga::PatriciaTrie#tag_keys
|
1172
|
-
* Groonga::Expression#snippet
|
1173
|
-
* Groonga::Object#append
|
1174
|
-
* Groonga::Object#prepend
|
1175
|
-
|
1176
|
-
h2. 0.0.6: 2009-07-31
|
1177
|
-
|
1178
|
-
* Supported groonga 0.1.1.
|
1179
|
-
* Fixed documents [id:mat_aki]
|
1180
|
-
* Supported groonga expression for searching.
|
1181
|
-
* Added API
|
1182
|
-
* Groonga::Table#union!
|
1183
|
-
* Groonga::Table#intersect!
|
1184
|
-
* Groonga::Table#differene!
|
1185
|
-
* Groonga::Table#merge!
|
1186
|
-
* Provided tar.gz [id:m_seki]
|
1187
|
-
* Fixed memory leaks
|
1188
|
-
|
1189
|
-
h2. 0.0.3: 2009-07-18
|
1190
|
-
|
1191
|
-
* Added Groonga::TableKeySupport#has_key? [#26145] [Tasuku SUENAGA]
|
1192
|
-
* Groonga::Record#[] raises an exception for nonexistent
|
1193
|
-
column name. [#26146] [Tasuku SUENAGA]
|
1194
|
-
* Supported 32bit environment [niku]
|
1195
|
-
* Added a test for N-gram index search [dara]
|
1196
|
-
* Added APIs
|
1197
|
-
* Groonga::Record#incemrent!
|
1198
|
-
* Groonga::Record#decemrent!
|
1199
|
-
* Groonga::Record#lock
|
1200
|
-
* Groonga::Table#lock
|
1201
|
-
* Groonga::Schema: A DSL for schema definition
|
1202
|
-
* Groonga::Expression
|
1203
|
-
|
1204
|
-
h2. 0.0.2: 2009-06-04
|
1205
|
-
|
1206
|
-
* Supported groonga 0.0.8 [mori]
|
1207
|
-
* Improved preformance: cache key, value, domain and range
|
1208
|
-
* Improved API
|
1209
|
-
* Added documents
|
1210
|
-
* Supported Ruby 1.9
|
1211
|
-
* Bug fixes:
|
1212
|
-
* Fixed install process [Tasuku SUENAGA]
|
1213
|
-
* Fixed memory leaks
|
1214
|
-
|
1215
|
-
h2. 0.0.1: 2009-04-30
|
1216
|
-
|
1217
|
-
* Initial release!
|