rroonga 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/AUTHORS +5 -0
- data/Gemfile +1 -12
- data/Rakefile +4 -57
- data/bin/grndump +11 -1
- data/ext/groonga/extconf.rb +125 -54
- data/ext/groonga/rb-grn-context.c +25 -7
- data/ext/groonga/rb-grn-database.c +25 -0
- data/ext/groonga/rb-grn-object.c +19 -7
- data/ext/groonga/rb-grn-table.c +8 -10
- data/ext/groonga/rb-grn.h +9 -2
- data/lib/groonga/dumper.rb +2 -2
- data/lib/groonga/expression-builder.rb +33 -18
- data/rroonga-build.rb +1 -1
- metadata +97 -180
- data/TODO +0 -0
- data/test/groonga-test-utils.rb +0 -139
- data/test/run-test.rb +0 -60
- data/test/test-accessor.rb +0 -36
- data/test/test-array.rb +0 -123
- data/test/test-column.rb +0 -350
- data/test/test-command-select.rb +0 -147
- data/test/test-context.rb +0 -130
- data/test/test-database-dumper.rb +0 -259
- data/test/test-database.rb +0 -148
- data/test/test-double-array-trie.rb +0 -164
- data/test/test-encoding.rb +0 -33
- data/test/test-exception.rb +0 -96
- data/test/test-expression-builder.rb +0 -269
- data/test/test-expression.rb +0 -134
- data/test/test-fix-size-column.rb +0 -77
- data/test/test-gqtp.rb +0 -70
- data/test/test-hash.rb +0 -344
- data/test/test-index-column.rb +0 -180
- data/test/test-index-cursor.rb +0 -93
- data/test/test-logger.rb +0 -37
- data/test/test-pagination.rb +0 -249
- data/test/test-patricia-trie.rb +0 -415
- data/test/test-plugin.rb +0 -35
- data/test/test-procedure.rb +0 -37
- data/test/test-query-log.rb +0 -258
- data/test/test-record.rb +0 -569
- data/test/test-remote.rb +0 -63
- data/test/test-schema-create-table.rb +0 -267
- data/test/test-schema-dumper.rb +0 -235
- data/test/test-schema-type.rb +0 -208
- data/test/test-schema-view.rb +0 -90
- data/test/test-schema.rb +0 -886
- data/test/test-snippet.rb +0 -130
- data/test/test-table-cursor.rb +0 -187
- data/test/test-table-dumper.rb +0 -83
- data/test/test-table-offset-and-limit.rb +0 -100
- data/test/test-table-select-mecab.rb +0 -80
- data/test/test-table-select-normalize.rb +0 -57
- data/test/test-table-select-weight.rb +0 -123
- data/test/test-table-select.rb +0 -191
- data/test/test-table.rb +0 -675
- data/test/test-type.rb +0 -79
- data/test/test-variable-size-column.rb +0 -147
- data/test/test-variable.rb +0 -28
- data/test/test-vector-column.rb +0 -76
- data/test/test-version.rb +0 -61
- data/test/test-view.rb +0 -72
data/ext/groonga/rb-grn-object.c
CHANGED
@@ -83,26 +83,27 @@ static void
|
|
83
83
|
rb_grn_object_run_finalizer (grn_ctx *context, grn_obj *grn_object,
|
84
84
|
RbGrnObject *rb_grn_object)
|
85
85
|
{
|
86
|
+
RbGrnContext *rb_grn_context = NULL;
|
87
|
+
|
86
88
|
if (rb_grn_exited)
|
87
89
|
return;
|
88
90
|
|
89
91
|
grn_obj_set_finalizer(context, grn_object, NULL);
|
90
92
|
|
91
|
-
debug("finalize: %p:%p:%p:%p:%p %s(%#x)\n",
|
93
|
+
debug("finalize: %p:%p:%p:%p:%p:%p %s(%#x)\n",
|
92
94
|
context, grn_object, rb_grn_object,
|
93
95
|
rb_grn_object->context, rb_grn_object->object,
|
96
|
+
rb_grn_object->rb_grn_context,
|
94
97
|
rb_grn_inspect_type(grn_object->header.type),
|
95
98
|
grn_object->header.type);
|
96
99
|
|
97
|
-
|
98
|
-
rb_grn_object->object = NULL;
|
100
|
+
rb_grn_context = rb_grn_object->rb_grn_context;
|
99
101
|
rb_grn_object->have_finalizer = GRN_FALSE;
|
100
102
|
|
101
103
|
switch (grn_object->header.type) {
|
102
104
|
case GRN_DB:
|
103
|
-
|
104
|
-
|
105
|
-
}
|
105
|
+
rb_grn_database_finalizer(context, rb_grn_context,
|
106
|
+
grn_object, rb_grn_object);
|
106
107
|
break;
|
107
108
|
case GRN_TYPE:
|
108
109
|
case GRN_PROC:
|
@@ -153,6 +154,10 @@ rb_grn_object_run_finalizer (grn_ctx *context, grn_obj *grn_object,
|
|
153
154
|
grn_object->header.type);
|
154
155
|
break;
|
155
156
|
}
|
157
|
+
|
158
|
+
rb_grn_object->rb_grn_context = NULL;
|
159
|
+
rb_grn_object->context = NULL;
|
160
|
+
rb_grn_object->object = NULL;
|
156
161
|
}
|
157
162
|
|
158
163
|
static grn_obj *
|
@@ -326,8 +331,15 @@ rb_grn_object_bind_common (VALUE klass, VALUE self, VALUE rb_context,
|
|
326
331
|
grn_ctx *context, grn_obj *object)
|
327
332
|
{
|
328
333
|
grn_user_data *user_data;
|
334
|
+
RbGrnContext *rb_grn_context;
|
335
|
+
|
336
|
+
debug("bind: %p:%p:%p %s(%#x)\n",
|
337
|
+
context, object, rb_grn_object,
|
338
|
+
rb_grn_inspect_type(object->header.type),
|
339
|
+
object->header.type);
|
329
340
|
|
330
|
-
|
341
|
+
Data_Get_Struct(rb_context, RbGrnContext, rb_grn_context);
|
342
|
+
rb_grn_object->rb_grn_context = rb_grn_context;
|
331
343
|
rb_grn_object->context = context;
|
332
344
|
rb_grn_object->object = object;
|
333
345
|
rb_grn_object->self = self;
|
data/ext/groonga/rb-grn-table.c
CHANGED
@@ -919,12 +919,15 @@ rb_grn_table_truncate (VALUE self)
|
|
919
919
|
|
920
920
|
/*
|
921
921
|
* call-seq:
|
922
|
-
* table.each
|
922
|
+
* table.each {|record| } -> nil
|
923
|
+
* table.each(options={}) {|record| } -> nil
|
923
924
|
*
|
924
925
|
* テーブルに登録されているレコードを順番にブロックに渡す。
|
926
|
+
*
|
927
|
+
* _options_ is the same as #open_cursor's one.
|
925
928
|
*/
|
926
929
|
static VALUE
|
927
|
-
rb_grn_table_each (VALUE self)
|
930
|
+
rb_grn_table_each (int argc, VALUE *argv, VALUE self)
|
928
931
|
{
|
929
932
|
RbGrnTable *rb_table;
|
930
933
|
RbGrnObject *rb_grn_object;
|
@@ -934,14 +937,9 @@ rb_grn_table_each (VALUE self)
|
|
934
937
|
VALUE rb_cursor;
|
935
938
|
grn_id id;
|
936
939
|
|
937
|
-
|
938
|
-
rb_grn_table_deconstruct(rb_table, &table, &context,
|
939
|
-
NULL, NULL,
|
940
|
-
NULL, NULL, NULL,
|
941
|
-
NULL);
|
942
|
-
cursor = grn_table_cursor_open(context, table, NULL, 0, NULL, 0,
|
943
|
-
0, -1, GRN_CURSOR_ASCENDING);
|
940
|
+
cursor = rb_grn_table_open_grn_cursor(argc, argv, self, &context);
|
944
941
|
rb_cursor = GRNTABLECURSOR2RVAL(Qnil, context, cursor);
|
942
|
+
rb_table = SELF(self);
|
945
943
|
rb_grn_object = RB_GRN_OBJECT(rb_table);
|
946
944
|
while (rb_grn_object->object &&
|
947
945
|
(id = grn_table_cursor_next(context, cursor)) != GRN_ID_NIL) {
|
@@ -2176,7 +2174,7 @@ rb_grn_init_table (VALUE mGrn)
|
|
2176
2174
|
rb_define_method(rb_cGrnTable, "empty?", rb_grn_table_empty_p, 0);
|
2177
2175
|
rb_define_method(rb_cGrnTable, "truncate", rb_grn_table_truncate, 0);
|
2178
2176
|
|
2179
|
-
rb_define_method(rb_cGrnTable, "each", rb_grn_table_each,
|
2177
|
+
rb_define_method(rb_cGrnTable, "each", rb_grn_table_each, -1);
|
2180
2178
|
|
2181
2179
|
rb_define_method(rb_cGrnTable, "delete", rb_grn_table_delete, 1);
|
2182
2180
|
|
data/ext/groonga/rb-grn.h
CHANGED
@@ -72,7 +72,7 @@ RB_GRN_BEGIN_DECLS
|
|
72
72
|
|
73
73
|
#define RB_GRN_MAJOR_VERSION 2
|
74
74
|
#define RB_GRN_MINOR_VERSION 0
|
75
|
-
#define RB_GRN_MICRO_VERSION
|
75
|
+
#define RB_GRN_MICRO_VERSION 3
|
76
76
|
|
77
77
|
#define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
|
78
78
|
|
@@ -106,7 +106,7 @@ typedef struct _RbGrnObject RbGrnObject;
|
|
106
106
|
struct _RbGrnObject
|
107
107
|
{
|
108
108
|
VALUE self;
|
109
|
-
|
109
|
+
RbGrnContext *rb_grn_context;
|
110
110
|
grn_ctx *context;
|
111
111
|
grn_obj *object;
|
112
112
|
grn_obj *domain;
|
@@ -296,6 +296,8 @@ void rb_grn_context_register_floating_object
|
|
296
296
|
(RbGrnObject *rb_grn_object);
|
297
297
|
void rb_grn_context_unregister_floating_object
|
298
298
|
(RbGrnObject *rb_grn_object);
|
299
|
+
void rb_grn_context_close_floating_objects(RbGrnContext *rb_grn_context);
|
300
|
+
void rb_grn_context_reset_floating_objects(RbGrnContext *rb_grn_context);
|
299
301
|
grn_ctx *rb_grn_context_ensure (VALUE *context);
|
300
302
|
VALUE rb_grn_context_get_default (void);
|
301
303
|
VALUE rb_grn_context_to_exception (grn_ctx *context,
|
@@ -357,6 +359,11 @@ VALUE rb_grn_object_inspect_content (VALUE object,
|
|
357
359
|
VALUE rb_grn_object_inspect_footer (VALUE object,
|
358
360
|
VALUE inspected);
|
359
361
|
|
362
|
+
void rb_grn_database_finalizer (grn_ctx *context,
|
363
|
+
RbGrnContext *rb_grn_context,
|
364
|
+
grn_obj *column,
|
365
|
+
RbGrnObject *rb_grn_database);
|
366
|
+
|
360
367
|
void rb_grn_named_object_bind (RbGrnNamedObject *rb_grn_named_object,
|
361
368
|
grn_ctx *context,
|
362
369
|
grn_obj *object);
|
data/lib/groonga/dumper.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2011 Kouhei Sutou <kou@clear-code.com>
|
3
|
+
# Copyright (C) 2011-2012 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -479,7 +479,7 @@ module Groonga
|
|
479
479
|
end
|
480
480
|
|
481
481
|
def dump_records(columns)
|
482
|
-
@table.each do |record|
|
482
|
+
@table.each(:order_by => @options[:order_by]) do |record|
|
483
483
|
write(",\n")
|
484
484
|
values = columns.collect do |column|
|
485
485
|
resolve_value(column[record.id])
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2009-
|
3
|
+
# Copyright (C) 2009-2012 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -226,6 +226,10 @@ module Groonga
|
|
226
226
|
SuffixSearchExpressionBuilder.new(self, normalize(other))
|
227
227
|
end
|
228
228
|
|
229
|
+
def similar_search(other)
|
230
|
+
SimilarSearchExpressionBuilder.new(self, normalize(other))
|
231
|
+
end
|
232
|
+
|
229
233
|
private
|
230
234
|
def normalize(other)
|
231
235
|
if @range.is_a?(Groonga::Table)
|
@@ -406,6 +410,13 @@ module Groonga
|
|
406
410
|
super(Groonga::Operation::SUFFIX, column_value_builder, value)
|
407
411
|
end
|
408
412
|
end
|
413
|
+
|
414
|
+
# @private
|
415
|
+
class SimilarSearchExpressionBuilder < BinaryExpressionBuilder
|
416
|
+
def initialize(column_value_builder, value)
|
417
|
+
super(Groonga::Operation::SIMILAR, column_value_builder, value)
|
418
|
+
end
|
419
|
+
end
|
409
420
|
end
|
410
421
|
|
411
422
|
# @private
|
@@ -425,7 +436,7 @@ module Groonga
|
|
425
436
|
"for table <#{@table.inspect}>"
|
426
437
|
raise ArgumentError, message
|
427
438
|
end
|
428
|
-
|
439
|
+
column_value_expression_builder(column, name)
|
429
440
|
end
|
430
441
|
|
431
442
|
def id
|
@@ -471,7 +482,7 @@ module Groonga
|
|
471
482
|
raise ArgumentError,
|
472
483
|
"different index column: <#{name}>: #{object.inspect}"
|
473
484
|
end
|
474
|
-
|
485
|
+
column_value_expression_builder(object, name)
|
475
486
|
end
|
476
487
|
|
477
488
|
private
|
@@ -482,7 +493,7 @@ module Groonga
|
|
482
493
|
end
|
483
494
|
end
|
484
495
|
|
485
|
-
def
|
496
|
+
def column_value_expression_builder(column, name)
|
486
497
|
ColumnValueExpressionBuilder.new(column,
|
487
498
|
:table => @table,
|
488
499
|
:column_name => name)
|
@@ -524,55 +535,59 @@ module Groonga
|
|
524
535
|
end
|
525
536
|
|
526
537
|
def ==(other)
|
527
|
-
|
538
|
+
column_value_expression_builder == other
|
528
539
|
end
|
529
540
|
|
530
541
|
def =~(other)
|
531
|
-
|
542
|
+
column_value_expression_builder =~ other
|
532
543
|
end
|
533
544
|
|
534
545
|
def <(other)
|
535
|
-
|
546
|
+
column_value_expression_builder < other
|
536
547
|
end
|
537
548
|
|
538
549
|
def <=(other)
|
539
|
-
|
550
|
+
column_value_expression_builder <= other
|
540
551
|
end
|
541
552
|
|
542
553
|
def >(other)
|
543
|
-
|
554
|
+
column_value_expression_builder > other
|
544
555
|
end
|
545
556
|
|
546
557
|
def >=(other)
|
547
|
-
|
558
|
+
column_value_expression_builder >= other
|
548
559
|
end
|
549
560
|
|
550
561
|
def +(other)
|
551
|
-
|
562
|
+
column_value_expression_builder + other
|
552
563
|
end
|
553
564
|
|
554
565
|
def -(other)
|
555
|
-
|
566
|
+
column_value_expression_builder - other
|
556
567
|
end
|
557
568
|
|
558
569
|
def *(other)
|
559
|
-
|
570
|
+
column_value_expression_builder * other
|
560
571
|
end
|
561
572
|
|
562
573
|
def /(other)
|
563
|
-
|
574
|
+
column_value_expression_builder / other
|
564
575
|
end
|
565
576
|
|
566
577
|
def %(other)
|
567
|
-
|
578
|
+
column_value_expression_builder % other
|
568
579
|
end
|
569
580
|
|
570
581
|
def match(query, options={}, &block)
|
571
|
-
|
582
|
+
column_value_expression_builder.match(query, options, &block)
|
583
|
+
end
|
584
|
+
|
585
|
+
def similar_search(text)
|
586
|
+
column_value_expression_builder.similar_search(text)
|
572
587
|
end
|
573
588
|
|
574
589
|
private
|
575
|
-
def
|
590
|
+
def column_value_expression_builder
|
576
591
|
ColumnValueExpressionBuilder.new(@default_column,
|
577
592
|
:table => @table,
|
578
593
|
:column_name => @column_name,
|
@@ -583,7 +598,7 @@ module Groonga
|
|
583
598
|
return super if block
|
584
599
|
return super unless args.empty?
|
585
600
|
if VALID_COLUMN_NAME_RE =~ name.to_s
|
586
|
-
|
601
|
+
column_value_expression_builder.send(name)
|
587
602
|
else
|
588
603
|
super
|
589
604
|
end
|
data/rroonga-build.rb
CHANGED
metadata
CHANGED
@@ -1,25 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rroonga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 3
|
10
|
+
version: 2.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kouhei Sutou
|
14
|
-
-
|
15
|
-
- daijiro
|
16
|
-
- Yuto HAYAMIZU
|
17
|
-
- SHIDARA Yoji
|
14
|
+
- kou@clear-code.com
|
18
15
|
autorequire:
|
19
16
|
bindir: bin
|
20
17
|
cert_chain: []
|
21
18
|
|
22
|
-
date: 2012-
|
19
|
+
date: 2012-05-02 00:00:00 Z
|
23
20
|
dependencies:
|
24
21
|
- !ruby/object:Gem::Dependency
|
25
22
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
@@ -51,6 +48,20 @@ dependencies:
|
|
51
48
|
requirement: *id002
|
52
49
|
- !ruby/object:Gem::Dependency
|
53
50
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
hash: 3
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
version: "0"
|
59
|
+
name: archive-zip
|
60
|
+
prerelease: false
|
61
|
+
type: :runtime
|
62
|
+
requirement: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
54
65
|
none: false
|
55
66
|
requirements:
|
56
67
|
- - ">="
|
@@ -64,9 +75,9 @@ dependencies:
|
|
64
75
|
name: test-unit
|
65
76
|
prerelease: false
|
66
77
|
type: :development
|
67
|
-
requirement: *
|
78
|
+
requirement: *id004
|
68
79
|
- !ruby/object:Gem::Dependency
|
69
|
-
version_requirements: &
|
80
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
70
81
|
none: false
|
71
82
|
requirements:
|
72
83
|
- - ">="
|
@@ -78,9 +89,9 @@ dependencies:
|
|
78
89
|
name: test-unit-notify
|
79
90
|
prerelease: false
|
80
91
|
type: :development
|
81
|
-
requirement: *
|
92
|
+
requirement: *id005
|
82
93
|
- !ruby/object:Gem::Dependency
|
83
|
-
version_requirements: &
|
94
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
84
95
|
none: false
|
85
96
|
requirements:
|
86
97
|
- - ">="
|
@@ -92,9 +103,9 @@ dependencies:
|
|
92
103
|
name: rake
|
93
104
|
prerelease: false
|
94
105
|
type: :development
|
95
|
-
requirement: *
|
106
|
+
requirement: *id006
|
96
107
|
- !ruby/object:Gem::Dependency
|
97
|
-
version_requirements: &
|
108
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
98
109
|
none: false
|
99
110
|
requirements:
|
100
111
|
- - ">="
|
@@ -106,9 +117,9 @@ dependencies:
|
|
106
117
|
name: rake-compiler
|
107
118
|
prerelease: false
|
108
119
|
type: :development
|
109
|
-
requirement: *
|
120
|
+
requirement: *id007
|
110
121
|
- !ruby/object:Gem::Dependency
|
111
|
-
version_requirements: &
|
122
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
112
123
|
none: false
|
113
124
|
requirements:
|
114
125
|
- - ">="
|
@@ -117,12 +128,12 @@ dependencies:
|
|
117
128
|
segments:
|
118
129
|
- 0
|
119
130
|
version: "0"
|
120
|
-
name:
|
131
|
+
name: bundler
|
121
132
|
prerelease: false
|
122
133
|
type: :development
|
123
|
-
requirement: *
|
134
|
+
requirement: *id008
|
124
135
|
- !ruby/object:Gem::Dependency
|
125
|
-
version_requirements: &
|
136
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
126
137
|
none: false
|
127
138
|
requirements:
|
128
139
|
- - ">="
|
@@ -134,9 +145,9 @@ dependencies:
|
|
134
145
|
name: yard
|
135
146
|
prerelease: false
|
136
147
|
type: :development
|
137
|
-
requirement: *
|
148
|
+
requirement: *id009
|
138
149
|
- !ruby/object:Gem::Dependency
|
139
|
-
version_requirements: &
|
150
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
140
151
|
none: false
|
141
152
|
requirements:
|
142
153
|
- - ">="
|
@@ -148,15 +159,15 @@ dependencies:
|
|
148
159
|
name: packnga
|
149
160
|
prerelease: false
|
150
161
|
type: :development
|
151
|
-
requirement: *
|
162
|
+
requirement: *id010
|
152
163
|
description: |-
|
153
164
|
rroonga is an extension library to use groonga's DB-API
|
154
165
|
layer. rroonga provides Rubyish readable and writable API
|
155
166
|
not C like API. You can use groonga's fast and highly
|
156
167
|
functional features from Ruby with Rubyish form.
|
157
168
|
email:
|
158
|
-
-
|
159
|
-
-
|
169
|
+
- Tasuku SUENAGA
|
170
|
+
- a@razil.jp
|
160
171
|
executables:
|
161
172
|
- grntest-log-analyze
|
162
173
|
- grndump
|
@@ -165,132 +176,84 @@ extensions:
|
|
165
176
|
- ext/groonga/extconf.rb
|
166
177
|
extra_rdoc_files:
|
167
178
|
- README.textile
|
168
|
-
- TODO
|
169
179
|
files:
|
170
|
-
-
|
180
|
+
- README.textile
|
181
|
+
- AUTHORS
|
171
182
|
- Rakefile
|
183
|
+
- Gemfile
|
184
|
+
- rroonga-build.rb
|
185
|
+
- extconf.rb
|
186
|
+
- lib/groonga/schema.rb
|
187
|
+
- lib/groonga/expression-builder-19.rb
|
188
|
+
- lib/groonga/pagination.rb
|
189
|
+
- lib/groonga/view-record.rb
|
190
|
+
- lib/groonga/query-log.rb
|
191
|
+
- lib/groonga/patricia-trie.rb
|
192
|
+
- lib/groonga/grntest-log.rb
|
193
|
+
- lib/groonga/command.rb
|
194
|
+
- lib/groonga/dumper.rb
|
195
|
+
- lib/groonga/posting.rb
|
196
|
+
- lib/groonga/context.rb
|
197
|
+
- lib/groonga/record.rb
|
198
|
+
- lib/groonga/expression-builder.rb
|
199
|
+
- lib/groonga.rb
|
172
200
|
- benchmark/common.rb
|
173
|
-
- benchmark/create-wikipedia-database.rb
|
174
|
-
- benchmark/read-write-many-small-items.rb
|
175
201
|
- benchmark/repeat-load.rb
|
176
|
-
- benchmark/
|
202
|
+
- benchmark/read-write-many-small-items.rb
|
203
|
+
- benchmark/create-wikipedia-database.rb
|
177
204
|
- benchmark/write-many-small-items.rb
|
178
|
-
-
|
179
|
-
-
|
180
|
-
- bin/groonga-query-log-extract
|
181
|
-
- example/bookmark.rb
|
205
|
+
- benchmark/select.rb
|
206
|
+
- misc/grnop2ruby.rb
|
182
207
|
- example/index-html.rb
|
183
|
-
-
|
184
|
-
- ext/groonga/
|
185
|
-
- ext/groonga/rb-grn-accessor.c
|
186
|
-
- ext/groonga/rb-grn-array-cursor.c
|
187
|
-
- ext/groonga/rb-grn-array.c
|
208
|
+
- example/bookmark.rb
|
209
|
+
- ext/groonga/rb-grn-procedure.c
|
188
210
|
- ext/groonga/rb-grn-column.c
|
189
|
-
- ext/groonga/rb-grn-
|
190
|
-
- ext/groonga/rb-grn-database.c
|
191
|
-
- ext/groonga/rb-grn-double-array-trie-cursor.c
|
192
|
-
- ext/groonga/rb-grn-double-array-trie.c
|
211
|
+
- ext/groonga/rb-grn-index-column.c
|
193
212
|
- ext/groonga/rb-grn-encoding-support.c
|
194
|
-
- ext/groonga/rb-grn-
|
195
|
-
- ext/groonga/rb-grn-
|
196
|
-
- ext/groonga/rb-grn-expression-builder.c
|
197
|
-
- ext/groonga/rb-grn-expression.c
|
198
|
-
- ext/groonga/rb-grn-fix-size-column.c
|
213
|
+
- ext/groonga/rb-grn-variable.c
|
214
|
+
- ext/groonga/rb-grn-table.c
|
199
215
|
- ext/groonga/rb-grn-hash-cursor.c
|
200
|
-
- ext/groonga/rb-grn-
|
201
|
-
- ext/groonga/rb-grn-index-column.c
|
202
|
-
- ext/groonga/rb-grn-index-cursor.c
|
203
|
-
- ext/groonga/rb-grn-logger.c
|
216
|
+
- ext/groonga/rb-grn-table-cursor-key-support.c
|
204
217
|
- ext/groonga/rb-grn-object.c
|
205
|
-
- ext/groonga/rb-grn-
|
206
|
-
- ext/groonga/rb-grn-
|
218
|
+
- ext/groonga/rb-grn-double-array-trie.c
|
219
|
+
- ext/groonga/rb-grn-view-accessor.c
|
220
|
+
- ext/groonga/rb-grn-table-key-support.c
|
221
|
+
- ext/groonga/rb-grn-array.c
|
207
222
|
- ext/groonga/rb-grn-patricia-trie.c
|
208
|
-
- ext/groonga/rb-grn-
|
209
|
-
- ext/groonga/rb-grn-
|
210
|
-
- ext/groonga/rb-grn-procedure.c
|
223
|
+
- ext/groonga/rb-grn-double-array-trie-cursor.c
|
224
|
+
- ext/groonga/rb-grn-utils.c
|
211
225
|
- ext/groonga/rb-grn-record.c
|
226
|
+
- ext/groonga/rb-groonga.c
|
227
|
+
- ext/groonga/rb-grn-exception.c
|
228
|
+
- ext/groonga/rb-grn-variable-size-column.c
|
229
|
+
- ext/groonga/rb-grn-encoding.c
|
230
|
+
- ext/groonga/rb-grn-expression-builder.c
|
231
|
+
- ext/groonga/rb-grn-operator.c
|
212
232
|
- ext/groonga/rb-grn-snippet.c
|
213
|
-
- ext/groonga/rb-grn-
|
214
|
-
- ext/groonga/rb-grn-table-cursor.c
|
215
|
-
- ext/groonga/rb-grn-table-key-support.c
|
216
|
-
- ext/groonga/rb-grn-table.c
|
233
|
+
- ext/groonga/rb-grn-array-cursor.c
|
217
234
|
- ext/groonga/rb-grn-type.c
|
218
|
-
- ext/groonga/rb-grn-
|
219
|
-
- ext/groonga/rb-grn-
|
220
|
-
- ext/groonga/rb-grn-variable.c
|
221
|
-
- ext/groonga/rb-grn-view-accessor.c
|
235
|
+
- ext/groonga/rb-grn-table-cursor.c
|
236
|
+
- ext/groonga/rb-grn-fix-size-column.c
|
222
237
|
- ext/groonga/rb-grn-view-cursor.c
|
238
|
+
- ext/groonga/rb-grn-logger.c
|
239
|
+
- ext/groonga/rb-grn-plugin.c
|
240
|
+
- ext/groonga/rb-grn-database.c
|
223
241
|
- ext/groonga/rb-grn-view-record.c
|
242
|
+
- ext/groonga/rb-grn-patricia-trie-cursor.c
|
243
|
+
- ext/groonga/rb-grn-index-cursor.c
|
224
244
|
- ext/groonga/rb-grn-view.c
|
245
|
+
- ext/groonga/rb-grn-accessor.c
|
246
|
+
- ext/groonga/rb-grn-context.c
|
247
|
+
- ext/groonga/rb-grn-posting.c
|
248
|
+
- ext/groonga/rb-grn-expression.c
|
249
|
+
- ext/groonga/rb-grn-hash.c
|
225
250
|
- ext/groonga/rb-grn.h
|
226
|
-
- ext/groonga/rb
|
227
|
-
-
|
228
|
-
-
|
229
|
-
-
|
230
|
-
-
|
231
|
-
|
232
|
-
- lib/groonga/expression-builder-19.rb
|
233
|
-
- lib/groonga/expression-builder.rb
|
234
|
-
- lib/groonga/grntest-log.rb
|
235
|
-
- lib/groonga/pagination.rb
|
236
|
-
- lib/groonga/patricia-trie.rb
|
237
|
-
- lib/groonga/posting.rb
|
238
|
-
- lib/groonga/query-log.rb
|
239
|
-
- lib/groonga/record.rb
|
240
|
-
- lib/groonga/schema.rb
|
241
|
-
- lib/groonga/view-record.rb
|
242
|
-
- misc/grnop2ruby.rb
|
243
|
-
- rroonga-build.rb
|
244
|
-
- README.textile
|
245
|
-
- TODO
|
246
|
-
- test/test-schema.rb
|
247
|
-
- test/test-vector-column.rb
|
248
|
-
- test/test-schema-dumper.rb
|
249
|
-
- test/run-test.rb
|
250
|
-
- test/test-table-cursor.rb
|
251
|
-
- test/test-procedure.rb
|
252
|
-
- test/test-hash.rb
|
253
|
-
- test/test-expression.rb
|
254
|
-
- test/test-version.rb
|
255
|
-
- test/test-remote.rb
|
256
|
-
- test/test-table-offset-and-limit.rb
|
257
|
-
- test/test-expression-builder.rb
|
258
|
-
- test/test-encoding.rb
|
259
|
-
- test/test-snippet.rb
|
260
|
-
- test/test-index-cursor.rb
|
261
|
-
- test/test-type.rb
|
262
|
-
- test/test-table-dumper.rb
|
263
|
-
- test/test-table.rb
|
264
|
-
- test/test-pagination.rb
|
265
|
-
- test/groonga-test-utils.rb
|
266
|
-
- test/test-logger.rb
|
267
|
-
- test/test-context.rb
|
268
|
-
- test/test-table-select-weight.rb
|
269
|
-
- test/test-exception.rb
|
270
|
-
- test/test-table-select-normalize.rb
|
271
|
-
- test/test-command-select.rb
|
272
|
-
- test/test-gqtp.rb
|
273
|
-
- test/test-database-dumper.rb
|
274
|
-
- test/test-index-column.rb
|
275
|
-
- test/test-plugin.rb
|
276
|
-
- test/test-query-log.rb
|
277
|
-
- test/test-variable-size-column.rb
|
278
|
-
- test/test-schema-create-table.rb
|
279
|
-
- test/test-array.rb
|
280
|
-
- test/test-fix-size-column.rb
|
281
|
-
- test/test-schema-type.rb
|
282
|
-
- test/test-table-select.rb
|
283
|
-
- test/test-schema-view.rb
|
284
|
-
- test/test-view.rb
|
285
|
-
- test/test-variable.rb
|
286
|
-
- test/test-column.rb
|
287
|
-
- test/test-patricia-trie.rb
|
288
|
-
- test/test-table-select-mecab.rb
|
289
|
-
- test/test-accessor.rb
|
290
|
-
- test/test-database.rb
|
291
|
-
- test/test-double-array-trie.rb
|
292
|
-
- test/test-record.rb
|
293
|
-
homepage: http://groonga.rubyforge.org/
|
251
|
+
- ext/groonga/extconf.rb
|
252
|
+
- ext/groonga/groonga.def
|
253
|
+
- bin/grntest-log-analyze
|
254
|
+
- bin/grndump
|
255
|
+
- bin/groonga-query-log-extract
|
256
|
+
homepage: http://groonga.rubyforge.org/#about-rroonga
|
294
257
|
licenses:
|
295
258
|
- LGPLv2
|
296
259
|
post_install_message:
|
@@ -323,51 +286,5 @@ rubygems_version: 1.8.15
|
|
323
286
|
signing_key:
|
324
287
|
specification_version: 3
|
325
288
|
summary: Ruby bindings for groonga that provide full text search and column store features.
|
326
|
-
test_files:
|
327
|
-
|
328
|
-
- test/test-vector-column.rb
|
329
|
-
- test/test-schema-dumper.rb
|
330
|
-
- test/run-test.rb
|
331
|
-
- test/test-table-cursor.rb
|
332
|
-
- test/test-procedure.rb
|
333
|
-
- test/test-hash.rb
|
334
|
-
- test/test-expression.rb
|
335
|
-
- test/test-version.rb
|
336
|
-
- test/test-remote.rb
|
337
|
-
- test/test-table-offset-and-limit.rb
|
338
|
-
- test/test-expression-builder.rb
|
339
|
-
- test/test-encoding.rb
|
340
|
-
- test/test-snippet.rb
|
341
|
-
- test/test-index-cursor.rb
|
342
|
-
- test/test-type.rb
|
343
|
-
- test/test-table-dumper.rb
|
344
|
-
- test/test-table.rb
|
345
|
-
- test/test-pagination.rb
|
346
|
-
- test/groonga-test-utils.rb
|
347
|
-
- test/test-logger.rb
|
348
|
-
- test/test-context.rb
|
349
|
-
- test/test-table-select-weight.rb
|
350
|
-
- test/test-exception.rb
|
351
|
-
- test/test-table-select-normalize.rb
|
352
|
-
- test/test-command-select.rb
|
353
|
-
- test/test-gqtp.rb
|
354
|
-
- test/test-database-dumper.rb
|
355
|
-
- test/test-index-column.rb
|
356
|
-
- test/test-plugin.rb
|
357
|
-
- test/test-query-log.rb
|
358
|
-
- test/test-variable-size-column.rb
|
359
|
-
- test/test-schema-create-table.rb
|
360
|
-
- test/test-array.rb
|
361
|
-
- test/test-fix-size-column.rb
|
362
|
-
- test/test-schema-type.rb
|
363
|
-
- test/test-table-select.rb
|
364
|
-
- test/test-schema-view.rb
|
365
|
-
- test/test-view.rb
|
366
|
-
- test/test-variable.rb
|
367
|
-
- test/test-column.rb
|
368
|
-
- test/test-patricia-trie.rb
|
369
|
-
- test/test-table-select-mecab.rb
|
370
|
-
- test/test-accessor.rb
|
371
|
-
- test/test-database.rb
|
372
|
-
- test/test-double-array-trie.rb
|
373
|
-
- test/test-record.rb
|
289
|
+
test_files: []
|
290
|
+
|