ferret 0.10.13 → 0.10.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +5 -2
- data/ext/index.c +1 -1
- data/ext/q_phrase.c +6 -1
- data/ext/q_span.c +444 -6
- data/ext/r_search.c +95 -1
- data/ext/search.c +2 -1
- data/ext/search.h +32 -1
- data/ext/sort.c +1 -1
- data/lib/ferret/index.rb +2 -0
- data/lib/ferret_version.rb +1 -1
- data/test/unit/analysis/tc_analyzer.rb +13 -13
- data/test/unit/analysis/tc_token_stream.rb +5 -5
- data/test/unit/search/tc_spans.rb +19 -3
- data/test/unit/search/tm_searcher.rb +7 -1
- metadata +123 -123
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ferret
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.10.
|
7
|
-
date:
|
6
|
+
version: 0.10.14
|
7
|
+
date: 2007-01-16 00:00:00 +11:00
|
8
8
|
summary: Ruby indexing library.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -30,177 +30,177 @@ authors:
|
|
30
30
|
- David Balmain
|
31
31
|
files:
|
32
32
|
- setup.rb
|
33
|
+
- CHANGELOG
|
33
34
|
- Rakefile
|
35
|
+
- TUTORIAL
|
34
36
|
- TODO
|
35
|
-
- README
|
36
37
|
- MIT-LICENSE
|
37
|
-
-
|
38
|
-
-
|
39
|
-
- ext/
|
40
|
-
- ext/
|
38
|
+
- README
|
39
|
+
- ext/q_multi_term.c
|
40
|
+
- ext/r_qparser.c
|
41
|
+
- ext/r_utils.c
|
42
|
+
- ext/r_analysis.c
|
43
|
+
- ext/r_search.c
|
44
|
+
- ext/ferret.c
|
45
|
+
- ext/r_index.c
|
46
|
+
- ext/ferret.h
|
47
|
+
- ext/r_store.c
|
41
48
|
- ext/hashset.c
|
42
|
-
- ext/
|
43
|
-
- ext/global.c
|
49
|
+
- ext/q_match_all.c
|
44
50
|
- ext/bitvector.c
|
51
|
+
- ext/mempool.c
|
52
|
+
- ext/index.c
|
53
|
+
- ext/compound_io.c
|
54
|
+
- ext/q_wildcard.c
|
55
|
+
- ext/priorityqueue.c
|
56
|
+
- ext/q_range.c
|
57
|
+
- ext/q_prefix.c
|
58
|
+
- ext/array.c
|
45
59
|
- ext/hash.c
|
46
60
|
- ext/fs_store.c
|
47
|
-
- ext/
|
61
|
+
- ext/multimapper.c
|
62
|
+
- ext/similarity.c
|
48
63
|
- ext/except.c
|
49
64
|
- ext/ram_store.c
|
50
|
-
- ext/store.c
|
51
|
-
- ext/analysis.c
|
52
|
-
- ext/document.c
|
53
|
-
- ext/search.c
|
54
|
-
- ext/similarity.c
|
55
|
-
- ext/stopwords.c
|
56
|
-
- ext/array.c
|
57
|
-
- ext/index.c
|
58
|
-
- ext/compound_io.c
|
59
|
-
- ext/q_prefix.c
|
60
|
-
- ext/q_range.c
|
61
|
-
- ext/q_phrase.c
|
62
|
-
- ext/q_term.c
|
63
|
-
- ext/sort.c
|
64
65
|
- ext/q_boolean.c
|
65
|
-
- ext/
|
66
|
+
- ext/q_phrase.c
|
67
|
+
- ext/global.c
|
68
|
+
- ext/q_filtered_query.c
|
66
69
|
- ext/q_const_score.c
|
67
|
-
- ext/
|
68
|
-
- ext/
|
70
|
+
- ext/term_vectors.c
|
71
|
+
- ext/stopwords.c
|
72
|
+
- ext/search.c
|
69
73
|
- ext/q_fuzzy.c
|
70
|
-
- ext/
|
74
|
+
- ext/posh.c
|
71
75
|
- ext/q_parser.c
|
76
|
+
- ext/document.c
|
77
|
+
- ext/helper.c
|
72
78
|
- ext/q_span.c
|
73
|
-
- ext/
|
74
|
-
- ext/
|
75
|
-
- ext/
|
76
|
-
- ext/
|
77
|
-
- ext/
|
78
|
-
- ext/posh.h
|
79
|
-
- ext/store.h
|
79
|
+
- ext/analysis.c
|
80
|
+
- ext/filter.c
|
81
|
+
- ext/q_term.c
|
82
|
+
- ext/sort.c
|
83
|
+
- ext/store.c
|
80
84
|
- ext/hashset.h
|
81
|
-
- ext/
|
85
|
+
- ext/store.h
|
86
|
+
- ext/multimapper.h
|
82
87
|
- ext/global.h
|
83
88
|
- ext/bitvector.h
|
84
|
-
- ext/document.h
|
85
|
-
- ext/hash.h
|
86
|
-
- ext/except.h
|
87
|
-
- ext/threading.h
|
88
|
-
- ext/similarity.h
|
89
|
-
- ext/index.h
|
90
89
|
- ext/win32.h
|
91
|
-
- ext/
|
90
|
+
- ext/config.h
|
92
91
|
- ext/search.h
|
92
|
+
- ext/threading.h
|
93
|
+
- ext/index.h
|
94
|
+
- ext/mempool.h
|
95
|
+
- ext/posh.h
|
96
|
+
- ext/document.h
|
93
97
|
- ext/array.h
|
98
|
+
- ext/helper.h
|
94
99
|
- ext/lang.h
|
95
|
-
- ext/
|
96
|
-
- ext/
|
97
|
-
- ext/
|
98
|
-
- ext/
|
99
|
-
- ext/
|
100
|
-
- ext/
|
101
|
-
- ext/stem_UTF_8_finnish.c
|
102
|
-
- ext/stem_UTF_8_french.c
|
103
|
-
- ext/stem_UTF_8_german.c
|
104
|
-
- ext/stem_UTF_8_italian.c
|
100
|
+
- ext/hash.h
|
101
|
+
- ext/analysis.h
|
102
|
+
- ext/priorityqueue.h
|
103
|
+
- ext/similarity.h
|
104
|
+
- ext/except.h
|
105
|
+
- ext/stem_ISO_8859_1_italian.c
|
105
106
|
- ext/stem_UTF_8_portuguese.c
|
106
|
-
- ext/
|
107
|
-
- ext/
|
108
|
-
- ext/stem_UTF_8_russian.c
|
107
|
+
- ext/stem_UTF_8_portuguese.h
|
108
|
+
- ext/stem_UTF_8_french.c
|
109
109
|
- ext/stem_UTF_8_spanish.c
|
110
|
-
- ext/
|
110
|
+
- ext/stem_UTF_8_dutch.c
|
111
|
+
- ext/stem_ISO_8859_1_italian.h
|
112
|
+
- ext/stem_UTF_8_german.c
|
113
|
+
- ext/stem_UTF_8_french.h
|
114
|
+
- ext/stem_UTF_8_spanish.h
|
111
115
|
- ext/stem_ISO_8859_1_english.c
|
112
|
-
- ext/stem_ISO_8859_1_danish.c
|
113
|
-
- ext/stem_ISO_8859_1_dutch.c
|
114
|
-
- ext/stem_ISO_8859_1_finnish.c
|
115
|
-
- ext/stem_ISO_8859_1_french.c
|
116
|
-
- ext/stem_ISO_8859_1_german.c
|
117
|
-
- ext/stem_ISO_8859_1_italian.c
|
118
116
|
- ext/stem_ISO_8859_1_norwegian.c
|
119
|
-
- ext/
|
120
|
-
- ext/stem_ISO_8859_1_portuguese.c
|
121
|
-
- ext/stem_ISO_8859_1_spanish.c
|
122
|
-
- ext/stem_ISO_8859_1_swedish.c
|
123
|
-
- ext/stem_UTF_8_danish.h
|
117
|
+
- ext/stem_UTF_8_porter.c
|
124
118
|
- ext/stem_UTF_8_dutch.h
|
125
|
-
- ext/stem_UTF_8_english.h
|
126
|
-
- ext/stem_UTF_8_finnish.h
|
127
|
-
- ext/stem_UTF_8_french.h
|
128
119
|
- ext/stem_UTF_8_german.h
|
129
|
-
- ext/
|
130
|
-
- ext/
|
120
|
+
- ext/stem_ISO_8859_1_english.h
|
121
|
+
- ext/stem_ISO_8859_1_norwegian.h
|
131
122
|
- ext/stem_UTF_8_porter.h
|
132
|
-
- ext/
|
123
|
+
- ext/stem_ISO_8859_1_portuguese.c
|
124
|
+
- ext/stem_UTF_8_russian.c
|
125
|
+
- ext/stem_ISO_8859_1_spanish.c
|
126
|
+
- ext/stem_ISO_8859_1_french.c
|
127
|
+
- ext/stem_ISO_8859_1_portuguese.h
|
128
|
+
- ext/stem_ISO_8859_1_dutch.c
|
133
129
|
- ext/stem_UTF_8_russian.h
|
134
|
-
- ext/
|
135
|
-
- ext/
|
136
|
-
- ext/
|
137
|
-
- ext/stem_ISO_8859_1_danish.h
|
138
|
-
- ext/stem_ISO_8859_1_dutch.h
|
139
|
-
- ext/stem_ISO_8859_1_english.h
|
140
|
-
- ext/stem_ISO_8859_1_finnish.h
|
130
|
+
- ext/stem_KOI8_R_russian.c
|
131
|
+
- ext/stem_ISO_8859_1_german.c
|
132
|
+
- ext/stem_ISO_8859_1_spanish.h
|
141
133
|
- ext/stem_ISO_8859_1_french.h
|
134
|
+
- ext/stem_ISO_8859_1_porter.c
|
135
|
+
- ext/stem_ISO_8859_1_dutch.h
|
136
|
+
- ext/stem_UTF_8_finnish.c
|
137
|
+
- ext/stem_KOI8_R_russian.h
|
142
138
|
- ext/stem_ISO_8859_1_german.h
|
143
|
-
- ext/stem_ISO_8859_1_italian.h
|
144
|
-
- ext/stem_ISO_8859_1_norwegian.h
|
145
139
|
- ext/stem_ISO_8859_1_porter.h
|
146
|
-
- ext/
|
147
|
-
- ext/
|
140
|
+
- ext/stem_UTF_8_finnish.h
|
141
|
+
- ext/stem_UTF_8_danish.c
|
142
|
+
- ext/stem_UTF_8_swedish.c
|
143
|
+
- ext/stem_UTF_8_danish.h
|
144
|
+
- ext/stem_UTF_8_swedish.h
|
145
|
+
- ext/stem_ISO_8859_1_finnish.c
|
146
|
+
- ext/stem_UTF_8_italian.c
|
147
|
+
- ext/stem_ISO_8859_1_finnish.h
|
148
|
+
- ext/stem_UTF_8_italian.h
|
149
|
+
- ext/stem_ISO_8859_1_swedish.c
|
150
|
+
- ext/stem_ISO_8859_1_danish.c
|
151
|
+
- ext/stem_UTF_8_english.c
|
152
|
+
- ext/stem_UTF_8_norwegian.c
|
148
153
|
- ext/stem_ISO_8859_1_swedish.h
|
154
|
+
- ext/stem_ISO_8859_1_danish.h
|
155
|
+
- ext/stem_UTF_8_english.h
|
156
|
+
- ext/stem_UTF_8_norwegian.h
|
149
157
|
- ext/utilities.c
|
150
|
-
- ext/api.c
|
151
158
|
- ext/api.h
|
159
|
+
- ext/api.c
|
152
160
|
- ext/header.h
|
153
161
|
- ext/libstemmer.c
|
154
|
-
- ext/ferret.h
|
155
|
-
- ext/ferret.c
|
156
162
|
- ext/modules.h
|
157
163
|
- ext/libstemmer.h
|
158
|
-
- ext/r_analysis.c
|
159
|
-
- ext/r_utils.c
|
160
|
-
- ext/r_store.c
|
161
|
-
- ext/r_index.c
|
162
|
-
- ext/r_search.c
|
163
|
-
- ext/r_qparser.c
|
164
164
|
- ext/inc/threading.h
|
165
165
|
- ext/inc/lang.h
|
166
166
|
- lib/ferret.rb
|
167
167
|
- lib/ferret_version.rb
|
168
|
-
- lib/ferret/number_tools.rb
|
169
|
-
- lib/ferret/index.rb
|
170
|
-
- lib/ferret/document.rb
|
171
168
|
- lib/ferret/field_infos.rb
|
172
|
-
-
|
169
|
+
- lib/ferret/document.rb
|
170
|
+
- lib/ferret/index.rb
|
171
|
+
- lib/ferret/number_tools.rb
|
173
172
|
- test/test_helper.rb
|
174
|
-
- test/
|
175
|
-
- test/unit/ts_store.rb
|
176
|
-
- test/unit/ts_utils.rb
|
173
|
+
- test/test_all.rb
|
177
174
|
- test/unit/tc_document.rb
|
178
175
|
- test/unit/ts_index.rb
|
179
|
-
- test/unit/
|
176
|
+
- test/unit/ts_store.rb
|
177
|
+
- test/unit/ts_analysis.rb
|
178
|
+
- test/unit/ts_utils.rb
|
180
179
|
- test/unit/ts_query_parser.rb
|
180
|
+
- test/unit/ts_search.rb
|
181
|
+
- test/unit/utils/tc_number_tools.rb
|
181
182
|
- test/unit/utils/tc_bit_vector.rb
|
182
183
|
- test/unit/utils/tc_priority_queue.rb
|
183
|
-
- test/unit/
|
184
|
-
- test/unit/analysis/tc_analyzer.rb
|
184
|
+
- test/unit/query_parser/tc_query_parser.rb
|
185
185
|
- test/unit/analysis/tc_token_stream.rb
|
186
|
-
- test/unit/
|
187
|
-
- test/unit/store/tc_fs_store.rb
|
188
|
-
- test/unit/store/tc_ram_store.rb
|
189
|
-
- test/unit/store/tm_store.rb
|
190
|
-
- test/unit/index/tc_index_reader.rb
|
191
|
-
- test/unit/index/tc_index_writer.rb
|
192
|
-
- test/unit/index/tc_index.rb
|
193
|
-
- test/unit/index/th_doc.rb
|
194
|
-
- test/unit/search/tc_index_searcher.rb
|
195
|
-
- test/unit/search/tc_multi_searcher.rb
|
196
|
-
- test/unit/search/tc_fuzzy_query.rb
|
197
|
-
- test/unit/search/tc_sort.rb
|
198
|
-
- test/unit/search/tc_filter.rb
|
199
|
-
- test/unit/search/tc_spans.rb
|
186
|
+
- test/unit/analysis/tc_analyzer.rb
|
200
187
|
- test/unit/search/tc_sort_field.rb
|
188
|
+
- test/unit/search/tc_sort.rb
|
201
189
|
- test/unit/search/tc_search_and_sort.rb
|
190
|
+
- test/unit/search/tc_fuzzy_query.rb
|
191
|
+
- test/unit/search/tc_index_searcher.rb
|
192
|
+
- test/unit/search/tc_spans.rb
|
193
|
+
- test/unit/search/tc_filter.rb
|
194
|
+
- test/unit/search/tc_multi_searcher.rb
|
202
195
|
- test/unit/search/tm_searcher.rb
|
203
|
-
- test/unit/
|
196
|
+
- test/unit/index/tc_index.rb
|
197
|
+
- test/unit/index/th_doc.rb
|
198
|
+
- test/unit/index/tc_index_reader.rb
|
199
|
+
- test/unit/index/tc_index_writer.rb
|
200
|
+
- test/unit/store/tc_ram_store.rb
|
201
|
+
- test/unit/store/tm_store_lock.rb
|
202
|
+
- test/unit/store/tc_fs_store.rb
|
203
|
+
- test/unit/store/tm_store.rb
|
204
204
|
- test/threading/thread_safety_index_test.rb
|
205
205
|
- test/threading/thread_safety_test.rb
|
206
206
|
- test/threading/number_to_spoken.rb
|
@@ -219,12 +219,12 @@ extra_rdoc_files:
|
|
219
219
|
- TODO
|
220
220
|
- TUTORIAL
|
221
221
|
- MIT-LICENSE
|
222
|
-
- ext/
|
222
|
+
- ext/r_qparser.c
|
223
223
|
- ext/r_utils.c
|
224
|
-
- ext/
|
225
|
-
- ext/r_index.c
|
224
|
+
- ext/r_analysis.c
|
226
225
|
- ext/r_search.c
|
227
|
-
- ext/
|
226
|
+
- ext/r_index.c
|
227
|
+
- ext/r_store.c
|
228
228
|
- ext/ferret.c
|
229
229
|
executables: []
|
230
230
|
|