rroonga 5.0.0 → 5.0.1
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.
- 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
@@ -0,0 +1,214 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
#
|
3
|
+
# Copyright (C) 2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
4
|
+
# Copyright (C) 2015 Kouhei Sutou <kou@clear-code.com>
|
5
|
+
#
|
6
|
+
# This library is free software; you can redistribute it and/or
|
7
|
+
# modify it under the terms of the GNU Lesser General Public
|
8
|
+
# License version 2.1 as published by the Free Software Foundation.
|
9
|
+
#
|
10
|
+
# This library is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# Lesser General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU Lesser General Public
|
16
|
+
# License along with this library; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
|
+
|
19
|
+
class OperatorTest < Test::Unit::TestCase
|
20
|
+
include GroongaTestUtils
|
21
|
+
|
22
|
+
setup :setup_database
|
23
|
+
|
24
|
+
sub_test_case "#to_s" do
|
25
|
+
test "equal" do
|
26
|
+
assert_equal("equal", Groonga::Operator::EQUAL.to_s)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
sub_test_case "equal" do
|
31
|
+
sub_test_case "#exec" do
|
32
|
+
test "equal" do
|
33
|
+
assert_true(Groonga::Operator::EQUAL.exec("hello",
|
34
|
+
"hello"))
|
35
|
+
end
|
36
|
+
|
37
|
+
test "not equal" do
|
38
|
+
assert_false(Groonga::Operator::EQUAL.exec("hello",
|
39
|
+
"Hello"))
|
40
|
+
end
|
41
|
+
|
42
|
+
test ":context" do
|
43
|
+
context = Groonga::Context.new
|
44
|
+
assert_true(Groonga::Operator::EQUAL.exec("hello",
|
45
|
+
"hello",
|
46
|
+
:context => context))
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
sub_test_case "not-equal" do
|
52
|
+
sub_test_case "#exec" do
|
53
|
+
test "not equal" do
|
54
|
+
assert_true(Groonga::Operator::NOT_EQUAL.exec("hello",
|
55
|
+
"Hello"))
|
56
|
+
end
|
57
|
+
|
58
|
+
test "equal" do
|
59
|
+
assert_false(Groonga::Operator::NOT_EQUAL.exec("hello",
|
60
|
+
"hello"))
|
61
|
+
end
|
62
|
+
|
63
|
+
test ":context" do
|
64
|
+
context = Groonga::Context.new
|
65
|
+
assert_true(Groonga::Operator::NOT_EQUAL.exec("hello",
|
66
|
+
"Hello",
|
67
|
+
:context => context))
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
sub_test_case "less" do
|
73
|
+
sub_test_case "#exec" do
|
74
|
+
test "less" do
|
75
|
+
assert_true(Groonga::Operator::LESS.exec(1, 2))
|
76
|
+
end
|
77
|
+
|
78
|
+
test "greater" do
|
79
|
+
assert_false(Groonga::Operator::LESS.exec(2, 1))
|
80
|
+
end
|
81
|
+
|
82
|
+
test ":context" do
|
83
|
+
context = Groonga::Context.new
|
84
|
+
assert_true(Groonga::Operator::LESS.exec(1, 2,
|
85
|
+
:context => context))
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
sub_test_case "greater" do
|
91
|
+
sub_test_case "#exec" do
|
92
|
+
test "greater" do
|
93
|
+
assert_true(Groonga::Operator::GREATER.exec(2, 1))
|
94
|
+
end
|
95
|
+
|
96
|
+
test "less" do
|
97
|
+
assert_false(Groonga::Operator::GREATER.exec(1, 2))
|
98
|
+
end
|
99
|
+
|
100
|
+
test ":context" do
|
101
|
+
context = Groonga::Context.new
|
102
|
+
assert_true(Groonga::Operator::GREATER.exec(2, 1,
|
103
|
+
:context => context))
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
sub_test_case "less-equal" do
|
109
|
+
sub_test_case "#exec" do
|
110
|
+
test "equal" do
|
111
|
+
assert_true(Groonga::Operator::LESS_EQUAL.exec(1, 1))
|
112
|
+
end
|
113
|
+
|
114
|
+
test "less" do
|
115
|
+
assert_true(Groonga::Operator::LESS_EQUAL.exec(1, 2))
|
116
|
+
end
|
117
|
+
|
118
|
+
test "greater" do
|
119
|
+
assert_false(Groonga::Operator::LESS_EQUAL.exec(2, 1))
|
120
|
+
end
|
121
|
+
|
122
|
+
test ":context" do
|
123
|
+
context = Groonga::Context.new
|
124
|
+
assert_true(Groonga::Operator::LESS_EQUAL.exec(1, 2,
|
125
|
+
:context => context))
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
sub_test_case "greater-equal" do
|
131
|
+
sub_test_case "#exec" do
|
132
|
+
test "equal" do
|
133
|
+
assert_true(Groonga::Operator::GREATER_EQUAL.exec(1, 1))
|
134
|
+
end
|
135
|
+
|
136
|
+
test "greater" do
|
137
|
+
assert_true(Groonga::Operator::GREATER_EQUAL.exec(2, 1))
|
138
|
+
end
|
139
|
+
|
140
|
+
test "less" do
|
141
|
+
assert_false(Groonga::Operator::GREATER_EQUAL.exec(1, 2))
|
142
|
+
end
|
143
|
+
|
144
|
+
test ":context" do
|
145
|
+
context = Groonga::Context.new
|
146
|
+
assert_true(Groonga::Operator::GREATER_EQUAL.exec(2, 1,
|
147
|
+
:context => context))
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
sub_test_case "match" do
|
153
|
+
sub_test_case "#exec" do
|
154
|
+
test "match" do
|
155
|
+
assert_true(Groonga::Operator::MATCH.exec("Hello Rroonga",
|
156
|
+
"Rroonga"))
|
157
|
+
end
|
158
|
+
|
159
|
+
test "not match" do
|
160
|
+
assert_false(Groonga::Operator::MATCH.exec("Hello Rroonga",
|
161
|
+
"Groonga"))
|
162
|
+
end
|
163
|
+
|
164
|
+
test ":context" do
|
165
|
+
context = Groonga::Context.new
|
166
|
+
assert_true(Groonga::Operator::MATCH.exec("Hello Rroonga",
|
167
|
+
"Rroonga",
|
168
|
+
:context => context))
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
sub_test_case "prefix" do
|
174
|
+
sub_test_case "#exec" do
|
175
|
+
test "have prefix" do
|
176
|
+
assert_true(Groonga::Operator::PREFIX.exec("Hello Rroonga",
|
177
|
+
"Hello"))
|
178
|
+
end
|
179
|
+
|
180
|
+
test "not have prefix" do
|
181
|
+
assert_false(Groonga::Operator::PREFIX.exec("Hello Rroonga",
|
182
|
+
"Rroonga"))
|
183
|
+
end
|
184
|
+
|
185
|
+
test ":context" do
|
186
|
+
context = Groonga::Context.new
|
187
|
+
assert_true(Groonga::Operator::PREFIX.exec("Hello Rroonga",
|
188
|
+
"Hello",
|
189
|
+
:context => context))
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
sub_test_case "regexp" do
|
195
|
+
sub_test_case "#exec" do
|
196
|
+
test "match" do
|
197
|
+
assert_true(Groonga::Operator::REGEXP.exec("Hello Rroonga",
|
198
|
+
/Rro+nga/))
|
199
|
+
end
|
200
|
+
|
201
|
+
test "not match" do
|
202
|
+
assert_false(Groonga::Operator::REGEXP.exec("Hello Rroonga",
|
203
|
+
/Gro+nga/))
|
204
|
+
end
|
205
|
+
|
206
|
+
test ":context" do
|
207
|
+
context = Groonga::Context.new
|
208
|
+
assert_true(Groonga::Operator::REGEXP.exec("Hello Rroonga",
|
209
|
+
/Rro+nga/,
|
210
|
+
:context => context))
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|
data/test/test-plugin.rb
CHANGED
@@ -22,16 +22,34 @@ class PluginTest < Test::Unit::TestCase
|
|
22
22
|
|
23
23
|
def test_register
|
24
24
|
context = Groonga::Context.default
|
25
|
-
assert_nil(context["
|
26
|
-
context.register_plugin("
|
27
|
-
assert_not_nil(context["
|
25
|
+
assert_nil(context["TokenFilterStopWord"])
|
26
|
+
context.register_plugin("token_filters/stop_word")
|
27
|
+
assert_not_nil(context["TokenFilterStopWord"])
|
28
28
|
end
|
29
29
|
|
30
30
|
def test_system_plugins_dir
|
31
|
-
|
32
|
-
|
31
|
+
plugin_path = "#{Groonga::Plugin.system_plugins_dir}/"
|
32
|
+
plugin_path << "token_filters/stop_word#{Groonga::Plugin.suffix}"
|
33
33
|
assert do
|
34
|
-
File.exist?(
|
34
|
+
File.exist?(plugin_path)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
class UnregisterTest < self
|
39
|
+
def test_by_name
|
40
|
+
context.register_plugin("token_filters/stop_word")
|
41
|
+
assert_not_nil(context["TokenFilterStopWord"])
|
42
|
+
context.unregister_plugin("token_filters/stop_word")
|
43
|
+
assert_nil(context["TokenFilterStopWord"])
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_by_path
|
47
|
+
context.register_plugin("token_filters/stop_word")
|
48
|
+
assert_not_nil(context["TokenFilterStopWord"])
|
49
|
+
plugin_path = "#{Groonga::Plugin.system_plugins_dir}/"
|
50
|
+
plugin_path << "token_filters/stop_word#{Groonga::Plugin.suffix}"
|
51
|
+
context.unregister_plugin(plugin_path)
|
52
|
+
assert_nil(context["TokenFilterStopWord"])
|
35
53
|
end
|
36
54
|
end
|
37
55
|
end
|
data/test/test-procedure.rb
CHANGED
@@ -27,6 +27,30 @@ class ProcedureTest < Test::Unit::TestCase
|
|
27
27
|
:accept_nil => true)
|
28
28
|
end
|
29
29
|
|
30
|
+
def test_procedure?
|
31
|
+
assert do
|
32
|
+
Groonga["TokenBigram"].procedure?
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_function_procedure?
|
37
|
+
assert do
|
38
|
+
Groonga["rand"].function_procedure?
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_selector_procedure?
|
43
|
+
assert do
|
44
|
+
Groonga["between"].selector_procedure?
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def test_scorer_procedure?
|
49
|
+
assert do
|
50
|
+
Groonga["scorer_tf_idf"].scorer_procedure?
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
30
54
|
private
|
31
55
|
def assert_equal_procedure(expected_name, id, options={})
|
32
56
|
procedure = Groonga::Context.default[id]
|
@@ -40,5 +64,10 @@ class ProcedureTest < Test::Unit::TestCase
|
|
40
64
|
tokenizer = Groonga["TokenBigram"]
|
41
65
|
assert_equal(Groonga::ProcedureType::TOKENIZER, tokenizer.type)
|
42
66
|
end
|
67
|
+
|
68
|
+
def test_scorer
|
69
|
+
scorer = Groonga["scorer_tf_idf"]
|
70
|
+
assert_equal(Groonga::ProcedureType::SCORER, scorer.type)
|
71
|
+
end
|
43
72
|
end
|
44
73
|
end
|
data/test/test-schema-type.rb
CHANGED
@@ -205,4 +205,18 @@ class SchemaTypeTest < Test::Unit::TestCase
|
|
205
205
|
def assert_normalize_type(expected, type)
|
206
206
|
assert_equal(expected, Groonga::Schema.normalize_type(type))
|
207
207
|
end
|
208
|
+
|
209
|
+
class RegexpTest < self
|
210
|
+
def test_normalize_short_name
|
211
|
+
assert_normalize_type("TokenRegexp", "regexp")
|
212
|
+
end
|
213
|
+
|
214
|
+
def test_normalize_snake_case
|
215
|
+
assert_normalize_type("TokenRegexp", "token_regexp")
|
216
|
+
end
|
217
|
+
|
218
|
+
def test_normalize_camel_case
|
219
|
+
assert_normalize_type("TokenRegexp", "TokenRegexp")
|
220
|
+
end
|
221
|
+
end
|
208
222
|
end
|
@@ -20,10 +20,7 @@ class TableSelectMecabTest < Test::Unit::TestCase
|
|
20
20
|
|
21
21
|
setup :setup_database
|
22
22
|
|
23
|
-
setup
|
24
|
-
def check_mecab_availability
|
25
|
-
omit("MeCab isn't available") if context["TokenMecab"].nil?
|
26
|
-
end
|
23
|
+
setup :check_mecab_availability
|
27
24
|
|
28
25
|
setup
|
29
26
|
def setup_tables
|
data/test/test-table.rb
CHANGED
@@ -630,6 +630,13 @@ class TableTest < Test::Unit::TestCase
|
|
630
630
|
assert_not_predicate(bookmarks, :builtin?)
|
631
631
|
end
|
632
632
|
|
633
|
+
def test_table?
|
634
|
+
bookmarks = Groonga::PatriciaTrie.create(:name => "Bookmarks")
|
635
|
+
assert do
|
636
|
+
bookmarks.table?
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
633
640
|
class OtherProcessTest < self
|
634
641
|
def test_create
|
635
642
|
by_other_process do
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Copyright (C) 2015 Masafumi Yokoyama <clear-code.com>
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License version 2.1 as published by the Free Software Foundation.
|
6
|
+
#
|
7
|
+
# This library is distributed in the hope that it will be useful,
|
8
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
10
|
+
# Lesser General Public License for more details.
|
11
|
+
#
|
12
|
+
# You should have received a copy of the GNU Lesser General Public
|
13
|
+
# License along with this library; if not, write to the Free Software
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
15
|
+
|
16
|
+
class TokenRegexpTest < Test::Unit::TestCase
|
17
|
+
include GroongaTestUtils
|
18
|
+
|
19
|
+
def setup
|
20
|
+
setup_database
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_default_tokenizer
|
24
|
+
terms = Groonga::PatriciaTrie.create(:name => "Terms",
|
25
|
+
:key_type => "ShortText",
|
26
|
+
:default_tokenizer => "TokenRegexp")
|
27
|
+
assert_equal(context["TokenRegexp"],
|
28
|
+
terms.default_tokenizer)
|
29
|
+
end
|
30
|
+
end
|
data/test/test-type.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# Copyright (C) 2009-2012 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
# Copyright (C) 2015 Masafumi Yokoyama <yokoyama@clear-code.com>
|
2
3
|
#
|
3
4
|
# This library is free software; you can redistribute it and/or
|
4
5
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -133,4 +134,27 @@ class TypeTest < Test::Unit::TestCase
|
|
133
134
|
assert_equal(expected_name,
|
134
135
|
type ? type.name : type)
|
135
136
|
end
|
137
|
+
|
138
|
+
class TokenizerTest < self
|
139
|
+
def test_delimit
|
140
|
+
assert_equal_type("TokenDelimit", Groonga::Type::DELIMIT)
|
141
|
+
end
|
142
|
+
|
143
|
+
def test_unigram
|
144
|
+
assert_equal_type("TokenUnigram", Groonga::Type::UNIGRAM)
|
145
|
+
end
|
146
|
+
|
147
|
+
def test_bigram
|
148
|
+
assert_equal_type("TokenBigram", Groonga::Type::BIGRAM)
|
149
|
+
end
|
150
|
+
|
151
|
+
def test_trigram
|
152
|
+
assert_equal_type("TokenTrigram", Groonga::Type::TRIGRAM)
|
153
|
+
end
|
154
|
+
|
155
|
+
def test_mecab
|
156
|
+
check_mecab_availability
|
157
|
+
assert_equal_type("TokenMecab", Groonga::Type::MECAB)
|
158
|
+
end
|
159
|
+
end
|
136
160
|
end
|
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: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-
|
15
|
+
date: 2015-04-15 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: pkg-config
|
@@ -118,14 +118,14 @@ dependencies:
|
|
118
118
|
requirements:
|
119
119
|
- - ">="
|
120
120
|
- !ruby/object:Gem::Version
|
121
|
-
version:
|
121
|
+
version: 0.9.5
|
122
122
|
type: :development
|
123
123
|
prerelease: false
|
124
124
|
version_requirements: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
126
|
- - ">="
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
128
|
+
version: 0.9.5
|
129
129
|
- !ruby/object:Gem::Dependency
|
130
130
|
name: bundler
|
131
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,7 +169,7 @@ dependencies:
|
|
169
169
|
- !ruby/object:Gem::Version
|
170
170
|
version: 1.0.0
|
171
171
|
- !ruby/object:Gem::Dependency
|
172
|
-
name:
|
172
|
+
name: kramdown
|
173
173
|
requirement: !ruby/object:Gem::Requirement
|
174
174
|
requirements:
|
175
175
|
- - ">="
|
@@ -195,8 +195,8 @@ email:
|
|
195
195
|
- dara@shidara.net
|
196
196
|
executables:
|
197
197
|
- groonga-index-dump
|
198
|
-
- groonga-database-inspect
|
199
198
|
- grndump
|
199
|
+
- groonga-database-inspect
|
200
200
|
- grntest-log-analyze
|
201
201
|
extensions:
|
202
202
|
- ext/groonga/extconf.rb
|
@@ -220,7 +220,6 @@ files:
|
|
220
220
|
- bin/groonga-index-dump
|
221
221
|
- doc/images/sample-schema.png
|
222
222
|
- doc/text/install.textile
|
223
|
-
- doc/text/news.textile
|
224
223
|
- doc/text/tutorial.textile
|
225
224
|
- example/bookmark.rb
|
226
225
|
- example/index-html.rb
|
@@ -236,27 +235,36 @@ files:
|
|
236
235
|
- ext/groonga/rb-grn-double-array-trie.c
|
237
236
|
- ext/groonga/rb-grn-encoding-support.c
|
238
237
|
- ext/groonga/rb-grn-encoding.c
|
238
|
+
- ext/groonga/rb-grn-equal-operator.c
|
239
239
|
- ext/groonga/rb-grn-exception.c
|
240
240
|
- ext/groonga/rb-grn-expression-builder.c
|
241
241
|
- ext/groonga/rb-grn-expression.c
|
242
242
|
- ext/groonga/rb-grn-fix-size-column.c
|
243
243
|
- ext/groonga/rb-grn-geo-point.c
|
244
|
+
- ext/groonga/rb-grn-greater-equal-operator.c
|
245
|
+
- ext/groonga/rb-grn-greater-operator.c
|
244
246
|
- ext/groonga/rb-grn-hash-cursor.c
|
245
247
|
- ext/groonga/rb-grn-hash.c
|
246
248
|
- ext/groonga/rb-grn-index-column.c
|
247
249
|
- ext/groonga/rb-grn-index-cursor.c
|
250
|
+
- ext/groonga/rb-grn-less-equal-operator.c
|
251
|
+
- ext/groonga/rb-grn-less-operator.c
|
248
252
|
- ext/groonga/rb-grn-logger.c
|
253
|
+
- ext/groonga/rb-grn-match-operator.c
|
249
254
|
- ext/groonga/rb-grn-normalizer.c
|
255
|
+
- ext/groonga/rb-grn-not-equal-operator.c
|
250
256
|
- ext/groonga/rb-grn-object.c
|
251
257
|
- ext/groonga/rb-grn-operator.c
|
252
258
|
- ext/groonga/rb-grn-patricia-trie-cursor.c
|
253
259
|
- ext/groonga/rb-grn-patricia-trie.c
|
254
260
|
- ext/groonga/rb-grn-plugin.c
|
255
261
|
- ext/groonga/rb-grn-posting.c
|
262
|
+
- ext/groonga/rb-grn-prefix-operator.c
|
256
263
|
- ext/groonga/rb-grn-procedure-type.c
|
257
264
|
- ext/groonga/rb-grn-procedure.c
|
258
265
|
- ext/groonga/rb-grn-query-logger.c
|
259
266
|
- ext/groonga/rb-grn-record.c
|
267
|
+
- ext/groonga/rb-grn-regexp-operator.c
|
260
268
|
- ext/groonga/rb-grn-snippet.c
|
261
269
|
- ext/groonga/rb-grn-table-cursor-key-support.c
|
262
270
|
- ext/groonga/rb-grn-table-cursor.c
|
@@ -321,6 +329,7 @@ files:
|
|
321
329
|
- test/test-logger.rb
|
322
330
|
- test/test-memory-pool.rb
|
323
331
|
- test/test-normalizer.rb
|
332
|
+
- test/test-operator.rb
|
324
333
|
- test/test-pagination.rb
|
325
334
|
- test/test-patricia-trie.rb
|
326
335
|
- test/test-plugin.rb
|
@@ -344,6 +353,7 @@ files:
|
|
344
353
|
- test/test-table-select.rb
|
345
354
|
- test/test-table-traverse.rb
|
346
355
|
- test/test-table.rb
|
356
|
+
- test/test-token-regexp.rb
|
347
357
|
- test/test-type.rb
|
348
358
|
- test/test-variable-size-column.rb
|
349
359
|
- test/test-variable.rb
|
@@ -351,7 +361,7 @@ files:
|
|
351
361
|
- test/test-version.rb
|
352
362
|
homepage: http://ranguba.org/#about-rroonga
|
353
363
|
licenses:
|
354
|
-
-
|
364
|
+
- LGPL-2.1
|
355
365
|
metadata: {}
|
356
366
|
post_install_message:
|
357
367
|
rdoc_options: []
|
@@ -376,58 +386,60 @@ specification_version: 4
|
|
376
386
|
summary: Ruby bindings for Groonga that provide full text search and column store
|
377
387
|
features.
|
378
388
|
test_files:
|
389
|
+
- test/test-schema.rb
|
390
|
+
- test/test-snippet.rb
|
391
|
+
- test/test-variable.rb
|
392
|
+
- test/test-geo-point.rb
|
379
393
|
- test/test-plugin.rb
|
394
|
+
- test/test-table-group.rb
|
395
|
+
- test/test-accessor.rb
|
396
|
+
- test/test-double-array-trie.rb
|
397
|
+
- test/test-pagination.rb
|
398
|
+
- test/test-memory-pool.rb
|
399
|
+
- test/test-column.rb
|
400
|
+
- test/test-table-traverse.rb
|
401
|
+
- test/test-expression.rb
|
380
402
|
- test/test-table-select.rb
|
403
|
+
- test/test-encoding.rb
|
404
|
+
- test/test-logger.rb
|
405
|
+
- test/test-schema-create-table.rb
|
406
|
+
- test/test-hash.rb
|
407
|
+
- test/test-type.rb
|
381
408
|
- test/test-table-offset-and-limit.rb
|
382
|
-
- test/test-sub-records.rb
|
383
|
-
- test/test-index-cursor.rb
|
384
|
-
- test/test-convert.rb
|
385
409
|
- test/test-version.rb
|
386
|
-
- test/test-table.rb
|
387
410
|
- test/test-lock-timeout.rb
|
388
|
-
- test/test-schema-create-table.rb
|
389
411
|
- test/test-index-column.rb
|
412
|
+
- test/test-table-key-support.rb
|
413
|
+
- test/test-vector-column.rb
|
414
|
+
- test/test-normalizer.rb
|
415
|
+
- test/test-table-select-weight.rb
|
416
|
+
- test/test-schema-type.rb
|
417
|
+
- test/test-sub-records.rb
|
418
|
+
- test/test-procedure.rb
|
419
|
+
- test/test-context.rb
|
420
|
+
- test/test-gqtp.rb
|
421
|
+
- test/test-remote.rb
|
422
|
+
- test/test-database-dumper.rb
|
423
|
+
- test/test-database-inspector.rb
|
424
|
+
- test/test-patricia-trie.rb
|
425
|
+
- test/run-test.rb
|
390
426
|
- test/test-fix-size-column.rb
|
391
|
-
- test/test-
|
427
|
+
- test/test-statistic-measurer.rb
|
392
428
|
- test/test-array.rb
|
429
|
+
- test/test-table.rb
|
430
|
+
- test/groonga-test-utils.rb
|
393
431
|
- test/test-record.rb
|
432
|
+
- test/test-exception.rb
|
433
|
+
- test/test-table-select-normalize.rb
|
394
434
|
- test/test-schema-dumper.rb
|
395
|
-
- test/test-
|
396
|
-
- test/test-
|
397
|
-
- test/test-pagination.rb
|
398
|
-
- test/test-database-dumper.rb
|
399
|
-
- test/test-table-group.rb
|
400
|
-
- test/test-accessor.rb
|
435
|
+
- test/test-token-regexp.rb
|
436
|
+
- test/test-table-dumper.rb
|
401
437
|
- test/test-database.rb
|
402
|
-
- test/test-
|
403
|
-
- test/test-
|
438
|
+
- test/test-variable-size-column.rb
|
439
|
+
- test/test-table-select-mecab.rb
|
404
440
|
- test/test-expression-builder.rb
|
441
|
+
- test/test-operator.rb
|
442
|
+
- test/test-convert.rb
|
443
|
+
- test/test-index-cursor.rb
|
405
444
|
- test/test-command-select.rb
|
406
|
-
- test/test-double-array-trie.rb
|
407
|
-
- test/test-vector-column.rb
|
408
|
-
- test/test-encoding.rb
|
409
|
-
- test/test-table-key-support.rb
|
410
|
-
- test/test-gqtp.rb
|
411
|
-
- test/run-test.rb
|
412
|
-
- test/test-patricia-trie.rb
|
413
|
-
- test/test-remote.rb
|
414
|
-
- test/test-table-select-weight.rb
|
415
|
-
- test/test-statistic-measurer.rb
|
416
|
-
- test/test-logger.rb
|
417
|
-
- test/test-hash.rb
|
418
|
-
- test/test-schema-type.rb
|
419
|
-
- test/test-normalizer.rb
|
420
|
-
- test/test-snippet.rb
|
421
|
-
- test/test-variable.rb
|
422
|
-
- test/test-memory-pool.rb
|
423
|
-
- test/test-exception.rb
|
424
|
-
- test/test-table-select-mecab.rb
|
425
|
-
- test/test-table-select-normalize.rb
|
426
|
-
- test/test-schema.rb
|
427
|
-
- test/test-geo-point.rb
|
428
|
-
- test/test-table-traverse.rb
|
429
|
-
- test/groonga-test-utils.rb
|
430
|
-
- test/test-column.rb
|
431
|
-
- test/test-context.rb
|
432
|
-
- test/test-expression.rb
|
433
445
|
has_rdoc:
|