xapian_db 1.3.5.4 → 1.3.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e0a8125904c6b19bde0907e2be6ff7ad9f319927
4
- data.tar.gz: 6ada801fee29d59e484e7813c8b6dbd1664a802b
2
+ SHA256:
3
+ metadata.gz: 1979b59ffcc42e298d5696f7729c76e4e59394fc35e230c88c3bdbf0830279d7
4
+ data.tar.gz: 672b7bbbe1c2e2833fc09e57e5bf8916bae46812c31608f122e7b9732d39af6f
5
5
  SHA512:
6
- metadata.gz: ecd0e5c8e4fb4cf239f71b5b3279cc2ecbfdc7c76f63e2b493e2b6e3908e14db99566edd269e582179492bd4cf40056fe44893030f82d24ab503d537730dbc8b
7
- data.tar.gz: 442bf0b4d19ca49fe230133fc03119fd3d8e6b555a0e30a8276c667a3addaf0a0613bcdbbb2165906aee28c4870db189647cccda10f972caa4eb8127f0880ae1
6
+ metadata.gz: 3094d0d66b745bf3dee99f9569ada5239d990812c50a7c995fd588cd140ce8f11b659a504340ae345db17009dc1e2873d47b9934636989e4bdfe7851e113cdb5
7
+ data.tar.gz: 9ff35b2818e51c8e7654f3ee4fae591a32c8cdf03c5ab7c99097a728df4ddaa4adadf5e04fbf9ea515ca9ae5b0fc7b55752835f9e80722a95039e28b6725828c
@@ -1,148 +1,199 @@
1
- ##1.3.5.4 (Jan 13th, 2015)
1
+ ## 1.3.7.4 (October 27th, 2020)
2
+
3
+ Changes:
4
+
5
+ - Instantiation of a BigDecimal using 'BigDecimal.new()' has been replaced with the new format 'BigDecimal() -- this is compatible with BigDecimal v1.4.x and v2.0.x AND drops support for BigDecimal v1.3.5'
6
+
7
+ **NOTE: Dropping support for BigDecimal v1.3.5 also drops the support of Ruby 2.2.x and earlier versions of Ruby.**
8
+
9
+ ## 1.3.7.3 (November 30th, 2018)
10
+
11
+ Changes:
12
+
13
+ - add support for ruby > 2.3.x
14
+
15
+ ## 1.3.7.2 (April 13th, 2018)
16
+
17
+ Changes:
18
+
19
+ - changed ownership
20
+
21
+ ## 1.3.7.1 (March 3rd, 2018)
22
+
23
+ Changes:
24
+
25
+ - Allow access to configured blueprints through XapianDb::DocumentBlueprint
26
+
27
+ ## 1.3.7 (January 12th, 2016)
28
+
29
+ Breaking Changes:
30
+
31
+ - search methods accept either a limit option OR page / per_page options, not both
32
+
33
+ Fixes:
34
+
35
+ - `XapianDb.database.delete_docs_of_class(klass)` now deletes docs of all descendants of `klass`, too (if tracked)
36
+
37
+ Changes:
38
+
39
+ - Ability to declare dependenices between blueprints
40
+ - Support for result ordering
41
+ - added a indexer preprocess callback to manipulate the terms that the indexer will index
42
+
43
+ ## 1.3.6 (August 14th, 2015)
44
+
45
+ Changes:
46
+
47
+ - The required Ruby version is now 2.0.0 since we started using keyword parameters in method definitions
48
+ - Ability do define and handle dependencies between blueprints (see README)
49
+ - explicit order option for searches
50
+
51
+ ## 1.3.5.4 (Jan 13th, 2015)
2
52
 
3
53
  Fixes:
4
54
 
5
- - path to database fixed in railtie
6
- - fix for xapian > 1.2.15
55
+ - path to database fixed in railtie
56
+ - fix for xapian > 1.2.15
7
57
 
8
- ##1.3.5.3 (May 22th, 2014)
58
+ ## 1.3.5.3 (May 22th, 2014)
9
59
 
10
60
  Fixes:
11
61
 
12
- - retry the search when a Xapian::DatabaseModifiedError occurs
62
+ - retry the search when a Xapian::DatabaseModifiedError occurs
13
63
 
14
- ##1.3.5.2 (January 3rd, 2014)
64
+ ## 1.3.5.2 (January 3rd, 2014)
15
65
 
16
66
  Fixes:
17
67
 
18
- - total_pages are calculated correctly when a limit option is passed (Thanks, Jan)
19
- - fix for will_paginate support
68
+ - total_pages are calculated correctly when a limit option is passed (Thanks, Jan)
69
+ - fix for will_paginate support
20
70
 
21
- ##1.3.5.1 (August 16th, 2013)
71
+ ## 1.3.5.1 (August 16th, 2013)
22
72
 
23
73
  Fixes:
24
74
 
25
- - namespaced models work again with rails 4
75
+ - namespaced models work again with rails 4
26
76
 
27
- ##1.3.5 (August 3rd, 2013)
77
+ ## 1.3.5 (August 3rd, 2013)
28
78
 
29
79
  Changes:
30
80
 
31
- - Rails4 deprecation resolved
32
- - licence information added tot the gemspec
81
+ - Rails4 deprecation resolved
82
+ - licence information added tot the gemspec
33
83
 
34
- ##1.3.4 (July 26th, 2013)
84
+ ## 1.3.4 (July 26th, 2013)
35
85
 
36
86
  Changes:
37
87
 
38
- - support for sidekiq queues
88
+ - support for sidekiq queues
39
89
 
40
- ##1.3.3.1 (June 23th, 2013)
90
+ ## 1.3.3.1 (June 23th, 2013)
41
91
 
42
92
  Fixes:
43
93
 
44
- - injected logical operators must be upper case in order to support Xapian::QueryParser::FLAG_BOOLEAN_ANY_CASE set to false
94
+ - injected logical operators must be upper case in order to support Xapian::QueryParser::FLAG_BOOLEAN_ANY_CASE set to false
45
95
 
46
- ##1.3.3 (June 23th, 2013)
96
+ ## 1.3.3 (June 23th, 2013)
47
97
 
48
98
  Changes:
49
99
 
50
- - xapian query parser flags are now configurable (see README)
100
+ - xapian query parser flags are now configurable (see README)
51
101
 
52
102
  Breaking Changes:
53
103
 
54
104
  - enable_phrase_search config option is no longer supported (use config.enable_query_flag Xapian::QueryParser::FLAG_PHRASE instead)
55
105
 
56
- ##1.3.2 (April 10th, 2013)
106
+ ## 1.3.2 (April 10th, 2013)
57
107
 
58
108
  Changes:
59
109
 
60
- - new no_split option for attributes and indexes; useful if you use a global term_splitter_count but want to disable splitting for
61
- a certain attribute
110
+ - new no_split option for attributes and indexes; useful if you use a global term_splitter_count but want to disable splitting for
111
+ a certain attribute
62
112
 
63
- ##1.3.1 (February 25th, 2013)
113
+ ## 1.3.1 (February 25th, 2013)
64
114
 
65
115
  Fixes:
66
116
 
67
- - json codec handles nil values gracefully
117
+ - json codec handles nil values gracefully
68
118
 
69
- ##1.3 (February 19th, 2013)
119
+ ## 1.3 (February 19th, 2013)
70
120
 
71
121
  Breaking Changes:
72
- - changed the internal serialization format for attributes; the new default is string, new codecs were added. YAML is not supported
73
- anymore, although you could implement a YAML-Codec on your own if you need it (see examples/custom_serialization.rb)
122
+
123
+ - changed the internal serialization format for attributes; the new default is string, new codecs were added. YAML is not supported
124
+ anymore, although you could implement a YAML-Codec on your own if you need it (see examples/custom_serialization.rb)
74
125
 
75
126
  Changes:
76
127
 
77
- - New option to enable / disable phrase search support
78
- - term splitter option to boost "live queries" (see README)
128
+ - New option to enable / disable phrase search support
129
+ - term splitter option to boost "live queries" (see README)
79
130
 
80
- ##1.2.5 (January 4th, 2013)
131
+ ## 1.2.5 (January 4th, 2013)
81
132
 
82
133
  Changes:
83
134
 
84
- - Define the min length a term must have to make it into the index (see README)
85
- - define if a method should be indexed with its method name so you can do field searches (e.g. name:kogler); defaults to true
135
+ - Define the min length a term must have to make it into the index (see README)
136
+ - define if a method should be indexed with its method name so you can do field searches (e.g. name:kogler); defaults to true
86
137
 
87
138
  Fixes:
88
139
 
89
- - query result creation optimized (lower memory footprint, better performance)
140
+ - query result creation optimized (lower memory footprint, better performance)
90
141
 
91
- ##1.2.4.7 (December 17th, 2012)
142
+ ## 1.2.4.7 (December 17th, 2012)
92
143
 
93
144
  Fixes:
94
145
 
95
- - database reset removed since it has concurrency problems
146
+ - database reset removed since it has concurrency problems
96
147
 
97
- ##1.2.4.6 (Decmber 17th, 2012)
148
+ ## 1.2.4.6 (Decmber 17th, 2012)
98
149
 
99
150
  Changes:
100
151
 
101
- - progressbar gem replaced by ruby-progressbar
102
- - XapianDb.rebuild_xapian_index resets the database to remove any stale index data
152
+ - progressbar gem replaced by ruby-progressbar
153
+ - XapianDb.rebuild_xapian_index resets the database to remove any stale index data
103
154
 
104
- ##1.2.4.5 (July 19th, 2012)
155
+ ## 1.2.4.5 (July 19th, 2012)
105
156
 
106
157
  Fixes:
107
158
 
108
- - Fixes requiring the environment when calling rake. Prevented eg creation of the database using rake db:create
159
+ - Fixes requiring the environment when calling rake. Prevented eg creation of the database using rake db:create
109
160
 
110
- ##1.2.4.4 (May 30h, 2012)
161
+ ## 1.2.4.4 (May 30h, 2012)
111
162
 
112
163
  Fixes:
113
164
 
114
- - do not add attributes with null values to a document
165
+ - do not add attributes with null values to a document
115
166
 
116
- ##1.2.4.3 (May 1st, 2012)
167
+ ## 1.2.4.3 (May 1st, 2012)
117
168
 
118
169
  Fixes:
119
170
 
120
- - handle null values on date and datetime attributes correctly
171
+ - handle null values on date and datetime attributes correctly
121
172
 
122
- ##1.2.4.2 (May 1st, 2012)
173
+ ## 1.2.4.2 (May 1st, 2012)
123
174
 
124
175
  Changes:
125
176
 
126
- - access the attributes of a xapian document as a hash table (like active record)
177
+ - access the attributes of a xapian document as a hash table (like active record)
127
178
 
128
- ##1.2.4.1 (April 5th, 2012)
179
+ ## 1.2.4.1 (April 5th, 2012)
129
180
 
130
181
  Fixes:
131
182
 
132
- - better indexing for attributes containing arrays (index rebuild recommended)
183
+ - better indexing for attributes containing arrays (index rebuild recommended)
133
184
 
134
- ##1.2.4 (March 6th, 2012)
185
+ ## 1.2.4 (March 6th, 2012)
135
186
 
136
187
  Features:
137
188
 
138
- - Codec for DateTime objects added
139
- - autoindex option for blueprints added
189
+ - Codec for DateTime objects added
190
+ - autoindex option for blueprints added
140
191
 
141
192
  Fixes:
142
193
 
143
- - the ActiveRecord after_commit hook must not reindex the object if it is a destroy action
194
+ - the ActiveRecord after_commit hook must not reindex the object if it is a destroy action
144
195
 
145
- ##1.2.3 (December 12th, 2011)
196
+ ## 1.2.3 (December 12th, 2011)
146
197
 
147
198
  Changes:
148
199
 
@@ -155,354 +206,354 @@ Changes:
155
206
  - added a rake task to rebuild the index
156
207
  - internal refactorings / optimizations
157
208
 
158
- ##1.2.2.2 (November 29th, 2011)
209
+ ## 1.2.2.2 (November 29th, 2011)
159
210
 
160
211
  Changes:
161
212
 
162
213
  - removed dependency to xapian-ruby to allow custom installs of the xapian binaries (see chapter Installing xapian binaries in the README)
163
214
 
164
- ##1.2.2.1 (November 22th, 2011)
215
+ ## 1.2.2.1 (November 22th, 2011)
165
216
 
166
217
  Fixes:
167
218
 
168
- - always use the correct table name for order clauses when indexing
169
- - allow nil values for attributes declared :as => :date
170
- - lazy load queue writers (beanstalk_writer, resque_writer) when needed
219
+ - always use the correct table name for order clauses when indexing
220
+ - allow nil values for attributes declared :as => :date
221
+ - lazy load queue writers (beanstalk_writer, resque_writer) when needed
171
222
 
172
- ##1.2.2 (November 15th, 2011)
223
+ ## 1.2.2 (November 15th, 2011)
173
224
 
174
225
  Features:
175
226
 
176
- - resultset accepts limit and paging options as strings
177
- - added natural sort order option for blueprints (see README for details)
227
+ - resultset accepts limit and paging options as strings
228
+ - added natural sort order option for blueprints (see README for details)
178
229
 
179
230
  IMPORTANT: FULL INDEX REBUILD REQUIRED FOR THIS RELEASE!
180
231
 
181
- ##1.2.1.1 (November 10th, 2011)
232
+ ## 1.2.1.1 (November 10th, 2011)
182
233
 
183
234
  Fixes:
184
235
 
185
- - resque writer wasn't loaded when beanstalk wasn't installed (thanks, javierv)
236
+ - resque writer wasn't loaded when beanstalk wasn't installed (thanks, javierv)
186
237
 
187
- ##1.2.1 (November 9th, 2011)
238
+ ## 1.2.1 (November 9th, 2011)
188
239
 
189
240
  Fixes:
190
241
 
191
- - removed explicit dependency on resque
242
+ - removed explicit dependency on resque
192
243
 
193
- ##1.2.0 (November 8th, 2011)
244
+ ## 1.2.0 (November 8th, 2011)
194
245
 
195
246
  Fixes:
196
247
 
197
- - find_similar_to supports the :limit option
248
+ - find_similar_to supports the :limit option
198
249
 
199
250
  Features:
200
251
 
201
- - new index worker / writer for resque (thanks, Michael)
202
- - support for namespaced models (thanks, Albert)
252
+ - new index worker / writer for resque (thanks, Michael)
253
+ - support for namespaced models (thanks, Albert)
203
254
 
204
- ##1.1.4 (October 25th, 2011)
255
+ ## 1.1.4 (October 25th, 2011)
205
256
 
206
257
  Fixes:
207
258
 
208
- - removed loading of the deprecated rake task from the railtie
259
+ - removed loading of the deprecated rake task from the railtie
209
260
 
210
- ##1.1.3 (October 24th, 2011)
261
+ ## 1.1.3 (October 24th, 2011)
211
262
 
212
263
  Fixes:
213
264
 
214
- - weight option for attributes and indexed values was not correctly applied
265
+ - weight option for attributes and indexed values was not correctly applied
215
266
 
216
- ##1.1.2 (September 10th, 2011)
267
+ ## 1.1.2 (September 10th, 2011)
217
268
 
218
269
  Fixes:
219
270
 
220
- - beanstalk_work flushes log messages (reinstall the worker script: rails generate xapian_db:install)
271
+ - beanstalk_work flushes log messages (reinstall the worker script: rails generate xapian_db:install)
221
272
 
222
273
  Features:
223
274
 
224
- - massive performance optimization in rebuild_xapian_index
275
+ - massive performance optimization in rebuild_xapian_index
225
276
 
226
- ##1.1.1 (September 9th, 2011)
277
+ ## 1.1.1 (September 9th, 2011)
227
278
 
228
279
  Fixes:
229
280
 
230
- - fixed a bug in XapianDb.rebuild_xapian_index that did not index all records of a klass; it ist highly recommended to run Xapian.rebuild_xapian_index after installing this version
281
+ - fixed a bug in XapianDb.rebuild_xapian_index that did not index all records of a klass; it ist highly recommended to run Xapian.rebuild_xapian_index after installing this version
231
282
 
232
283
  Features:
233
284
 
234
- - base query option for blueprints; may speed up reindexing signifiantly if you index associations
285
+ - base query option for blueprints; may speed up reindexing signifiantly if you index associations
235
286
 
236
- ##1.1 (September 7th, 2011)
287
+ ## 1.1 (September 7th, 2011)
237
288
 
238
289
  Fixes:
239
290
 
240
- - better handling of the beanstalk-client dependency
241
- - recreate the xapian index database if the configured path exists but does not contain a valid xapian index
242
- - support for non-integer primary keys (removed unneccesary to_i conversion)
291
+ - better handling of the beanstalk-client dependency
292
+ - recreate the xapian index database if the configured path exists but does not contain a valid xapian index
293
+ - support for non-integer primary keys (removed unneccesary to_i conversion)
243
294
 
244
295
  Features:
245
296
 
246
- - rails sample app upgraded to 3.1
247
- - support for value range queries (strings, dates, numbers)
248
- - sorting now works on a global query, too (XapianDb.search...)
249
- - global factes queries have now the same options like class scoped facet queries
250
- - Support for custom serialization into xapian documents; overwrite the serialization implementation in type_codec.rb or implement your own serialization for specific types (see examples/custom_serialization.rb)
251
- - support to reindex a single object while evaluation an ignore_if block (if present)
297
+ - rails sample app upgraded to 3.1
298
+ - support for value range queries (strings, dates, numbers)
299
+ - sorting now works on a global query, too (XapianDb.search...)
300
+ - global factes queries have now the same options like class scoped facet queries
301
+ - Support for custom serialization into xapian documents; overwrite the serialization implementation in type_codec.rb or implement your own serialization for specific types (see examples/custom_serialization.rb)
302
+ - support to reindex a single object while evaluation an ignore_if block (if present)
252
303
 
253
304
  IMPORTANT: YOU MUST REBUILD YOUR XAPIAN INDEX DATABASE SINCE THE INDEX STRUCTURE HAS CHANGED!
254
305
 
255
- ##1.0 (August 17th, 2011)
306
+ ## 1.0 (August 17th, 2011)
256
307
 
257
308
  Features:
258
309
 
259
- - find similar documents based on one or more reference documents
310
+ - find similar documents based on one or more reference documents
260
311
 
261
- ##0.5.15 (July 8th, 2011)
312
+ ## 0.5.15 (July 8th, 2011)
262
313
 
263
314
  Features:
264
315
 
265
- - faster install if the new, dependent gem containig xapian (xapian-ruby) is already installed
316
+ - faster install if the new, dependent gem containig xapian (xapian-ruby) is already installed
266
317
 
267
- ##0.5.14 (July 7th, 2011)
318
+ ## 0.5.14 (July 7th, 2011)
268
319
 
269
320
  Fixes:
270
321
 
271
- - fixed an issue in the beanstalk worker (delete task could not retrieve the xapian id from an already deleted object)
322
+ - fixed an issue in the beanstalk worker (delete task could not retrieve the xapian id from an already deleted object)
272
323
 
273
- ##0.5.13 (June 20th, 2011)
324
+ ## 0.5.13 (June 20th, 2011)
274
325
 
275
326
  Fixes:
276
327
 
277
- - handle attribute objects that return nil from to_s
328
+ - handle attribute objects that return nil from to_s
278
329
 
279
330
  Features:
280
331
 
281
- - updated the xapian source to 1.2.6
282
- - xapian source and build artefacts are removed after successful install
283
- - added support for namespaced classes
332
+ - updated the xapian source to 1.2.6
333
+ - xapian source and build artefacts are removed after successful install
334
+ - added support for namespaced classes
284
335
 
285
- ##0.5.12 (April 28th, 2011)
336
+ ## 0.5.12 (April 28th, 2011)
286
337
 
287
338
  Fixes:
288
339
 
289
- - avoid stale blueprint setups when an indexed class is reloaded
340
+ - avoid stale blueprint setups when an indexed class is reloaded
290
341
 
291
- ##0.5.11 (April 21st, 2011)
342
+ ## 0.5.11 (April 21st, 2011)
292
343
 
293
344
  Features:
294
345
 
295
- - XapianDb.search accepts all options supported by XapianDb::Database.search
296
- - Rails log entries include query execution time
297
- - small changes to the beanstalk worker error handling
346
+ - XapianDb.search accepts all options supported by XapianDb::Database.search
347
+ - Rails log entries include query execution time
348
+ - small changes to the beanstalk worker error handling
298
349
 
299
- ##0.5.10 (April 6th, 2011)
350
+ ## 0.5.10 (April 6th, 2011)
300
351
 
301
352
  Features:
302
353
 
303
- - the beanstalk worker is now implemented as a daemon script (execute 'rails generate xapian_db:install' to install it)
304
- - execute a block with auto indexing disabled (see 'Bulk inserts / updates / deletes' in teh README)
305
- - updated the xapian source to version 1.2.5
354
+ - the beanstalk worker is now implemented as a daemon script (execute 'rails generate xapian_db:install' to install it)
355
+ - execute a block with auto indexing disabled (see 'Bulk inserts / updates / deletes' in teh README)
356
+ - updated the xapian source to version 1.2.5
306
357
 
307
- ##0.5.9 (March 25th, 2011)
358
+ ## 0.5.9 (March 25th, 2011)
308
359
 
309
360
  Fixes:
310
361
 
311
- - indexing was broken in 0.5.8
362
+ - indexing was broken in 0.5.8
312
363
 
313
- ##0.5.8 (March 22th, 2011)
364
+ ## 0.5.8 (March 22th, 2011)
314
365
 
315
366
  Fixes:
316
367
 
317
- - automatic reindexing of a changed object now works when using beanstalk and the worker rake task
368
+ - automatic reindexing of a changed object now works when using beanstalk and the worker rake task
318
369
 
319
370
  Features:
320
371
 
321
- - support for transactions (see the README for details)
372
+ - support for transactions (see the README for details)
322
373
 
323
- ##0.5.7 (March 7th, 2011)
374
+ ## 0.5.7 (March 7th, 2011)
324
375
 
325
376
  Fixes:
326
377
 
327
- - limit_value on the resultset is calculated again when the resultset is empty (thanks, Javi)
328
- - added an order by id for rebuild_xapian_index to ensure that limit and offset work as expected
378
+ - limit_value on the resultset is calculated again when the resultset is empty (thanks, Javi)
379
+ - added an order by id for rebuild_xapian_index to ensure that limit and offset work as expected
329
380
 
330
381
  Features:
331
382
 
332
- - option to specify a specific adapter for a blueprint overriding the global configuration
383
+ - option to specify a specific adapter for a blueprint overriding the global configuration
333
384
 
334
- ##0.5.6 (February 28th, 2011)
385
+ ## 0.5.6 (February 28th, 2011)
335
386
 
336
387
  Features:
337
388
 
338
- - documents returned by a query have the new score property that reflects the match relevance in percent (1-100%)
339
- - added compatibility to the kaminari pagination gem (thanks, Javi)
340
- - added support for phrase searches (XapianDb.search('"this exact sentence"'))
389
+ - documents returned by a query have the new score property that reflects the match relevance in percent (1-100%)
390
+ - added compatibility to the kaminari pagination gem (thanks, Javi)
391
+ - added support for phrase searches (XapianDb.search('"this exact sentence"'))
341
392
 
342
- ##0.5.5 (February 25th, 2011)
393
+ ## 0.5.5 (February 25th, 2011)
343
394
 
344
395
  Fixes:
345
396
 
346
- - ":memory:" as a configuration option for a database works again (was broken in 0.5.4)
347
- - forcing utf-8 encoding on a spelling suggestion returned by the xapian query parser
397
+ - ":memory:" as a configuration option for a database works again (was broken in 0.5.4)
398
+ - forcing utf-8 encoding on a spelling suggestion returned by the xapian query parser
348
399
 
349
400
  Features:
350
401
 
351
- - configure only those environments in xapian_db.yml where you want to override the defaults
352
- - XapianDb.rebuild_xapian_index rebuilds the index for all blueprints
402
+ - configure only those environments in xapian_db.yml where you want to override the defaults
403
+ - XapianDb.rebuild_xapian_index rebuilds the index for all blueprints
353
404
 
354
- ##0.5.4 (February 22nd, 2011)
405
+ ## 0.5.4 (February 22nd, 2011)
355
406
 
356
407
  Fixes:
357
408
 
358
- - relative database paths in the config file are resolved correctly when the Rails server is started as a daemon (-d)
409
+ - relative database paths in the config file are resolved correctly when the Rails server is started as a daemon (-d)
359
410
 
360
411
  Breaking Changes:
361
412
 
362
- - the spelling suggestion of a query is now nil instead of an empty string if no suggestions were returned from xapian
363
- - the resultset class (what you get back from a query) has been refactored for easier handling. See the README ("Process the results")
364
- for details
413
+ - the spelling suggestion of a query is now nil instead of an empty string if no suggestions were returned from xapian
414
+ - the resultset class (what you get back from a query) has been refactored for easier handling. See the README ("Process the results")
415
+ for details
365
416
 
366
- ##0.5.3 (February 15th, 2011)
417
+ ## 0.5.3 (February 15th, 2011)
367
418
 
368
419
  Fixes:
369
420
 
370
- - index blueprints can now handle inheritance. If a class does not have its own index blueprint,
371
- xapian_db uses the index blueprint from its super class (if defined)
372
- - Added an ignore option to the blueprint definition to filter out objects that should not go into the index
421
+ - index blueprints can now handle inheritance. If a class does not have its own index blueprint,
422
+ xapian_db uses the index blueprint from its super class (if defined)
423
+ - Added an ignore option to the blueprint definition to filter out objects that should not go into the index
373
424
 
374
- ##0.5.2 (January 11th, 2011)
425
+ ## 0.5.2 (January 11th, 2011)
375
426
 
376
427
  Features:
377
428
 
378
- - xapian-core and xapian-ruby-bindings sources are now included and will be compiled and installed with the gem
429
+ - xapian-core and xapian-ruby-bindings sources are now included and will be compiled and installed with the gem
379
430
 
380
- ##0.5.1 (December 22th, 2010)
431
+ ## 0.5.1 (December 22th, 2010)
381
432
 
382
433
  Features:
383
434
 
384
- - simple facet support for indexed classes. Any attribute can be used in a facet search
435
+ - simple facet support for indexed classes. Any attribute can be used in a facet search
385
436
 
386
437
  Fixes:
387
438
 
388
- - attribute names that match a Xapian::Document method are not allowed
439
+ - attribute names that match a Xapian::Document method are not allowed
389
440
 
390
- ##0.5.0 (December 19th, 2010)
441
+ ## 0.5.0 (December 19th, 2010)
391
442
 
392
443
  Features:
393
444
 
394
- - beanstalk based index writer for production environments (multiple app instances, e.g. mongrel clusters,
395
- passenger...)
445
+ - beanstalk based index writer for production environments (multiple app instances, e.g. mongrel clusters,
446
+ passenger...)
396
447
 
397
- ##0.4.2 (December 17th, 2010)
448
+ ## 0.4.2 (December 17th, 2010)
398
449
 
399
450
  Features:
400
451
 
401
- - added a sample rails application to the repo
402
- - added the id attribute for documents based on ActiveRecord and Datamapper objects
452
+ - added a sample rails application to the repo
453
+ - added the id attribute for documents based on ActiveRecord and Datamapper objects
403
454
 
404
455
  Changes:
405
456
 
406
- - removed the language_method option from the blueprint configuration since it gives
407
- unpredictable results
457
+ - removed the language_method option from the blueprint configuration since it gives
458
+ unpredictable results
408
459
 
409
460
  Bugfixes:
410
461
 
411
- - fixed the initialization error in a Rails app if there is no xapian_db.yml config file
412
- - fixed the fallback to the global language when a model has an unsupported language and a
413
- language method is configured in the blueprint
414
- - fixed an issue with yaml deserialization of ActiveRecord objects (only the attributes hash
415
- should be serialized)
462
+ - fixed the initialization error in a Rails app if there is no xapian_db.yml config file
463
+ - fixed the fallback to the global language when a model has an unsupported language and a
464
+ language method is configured in the blueprint
465
+ - fixed an issue with yaml deserialization of ActiveRecord objects (only the attributes hash
466
+ should be serialized)
416
467
 
417
- ##0.4.1 (December 16th, 2010)
468
+ ## 0.4.1 (December 16th, 2010)
418
469
 
419
470
  Bugfixes:
420
471
 
421
- - fixed the handling of invalid page arguments in resultset.paginate. Invalid page arguments return
422
- an empty result set
423
- - searches with an empty search expression do not raise an exception anymore and return an empty
424
- resultset
472
+ - fixed the handling of invalid page arguments in resultset.paginate. Invalid page arguments return
473
+ an empty result set
474
+ - searches with an empty search expression do not raise an exception anymore and return an empty
475
+ resultset
425
476
 
426
- ##0.4.0 (December 15th, 2010)
477
+ ## 0.4.0 (December 15th, 2010)
427
478
 
428
479
  Features:
429
480
 
430
- - Simple facets implementation. The only facet supported is the class name of the indexed objects
431
- - Support for sorting (only for class searches, not for global searches)
432
- - The result of a search can be used with will_paginate
481
+ - Simple facets implementation. The only facet supported is the class name of the indexed objects
482
+ - Support for sorting (only for class searches, not for global searches)
483
+ - The result of a search can be used with will_paginate
433
484
 
434
485
  Bugfixes:
435
486
 
436
- - removed the class scope expression from the spelling suggestion when searching on a class
437
- - keys of the attributes and index hashes are now sorted to be compatible with ruby 1.8 (which does
438
- not preserve the order of the keys in a hash)
439
- - Fixed the problem that blueprint configurations got lost after the first request in the development
440
- env (Rails only). You should put your blueprints either into a class that is loaded by Rails or into
441
- the file config/xapian_blueprints.rb wich is loaded automatically by XapianDb
487
+ - removed the class scope expression from the spelling suggestion when searching on a class
488
+ - keys of the attributes and index hashes are now sorted to be compatible with ruby 1.8 (which does
489
+ not preserve the order of the keys in a hash)
490
+ - Fixed the problem that blueprint configurations got lost after the first request in the development
491
+ env (Rails only). You should put your blueprints either into a class that is loaded by Rails or into
492
+ the file config/xapian_blueprints.rb wich is loaded automatically by XapianDb
442
493
 
443
494
  **Since the internal structure of the index has changed, you must reindex your objects if you come from an
444
495
  earlier version of XapianDb!**
445
496
 
446
- ##0.3.4 (December 14th, 2010)
497
+ ## 0.3.4 (December 14th, 2010)
447
498
 
448
499
  Features:
449
500
 
450
- - perform searches on indexed classes to scope the search to objects of a specific class
451
- - specify multiple blueprint attributes and index methods in one statement (without specifying options)
452
- - use blocks for complex attribute or index specifications
501
+ - perform searches on indexed classes to scope the search to objects of a specific class
502
+ - specify multiple blueprint attributes and index methods in one statement (without specifying options)
503
+ - use blocks for complex attribute or index specifications
453
504
 
454
505
  Changes:
455
506
 
456
- - changed the implementation of Resultset.size to get more accurate estimations
457
- - changed the indexing of active_record or datamapper models when declared as attributes or indexes
458
- in a blueprint (indexes now all attributes of the object instead of using to_s)
507
+ - changed the implementation of Resultset.size to get more accurate estimations
508
+ - changed the indexing of active_record or datamapper models when declared as attributes or indexes
509
+ in a blueprint (indexes now all attributes of the object instead of using to_s)
459
510
 
460
- ##0.3.3 (December 13th, 2010)
511
+ ## 0.3.3 (December 13th, 2010)
461
512
 
462
513
  Features:
463
514
 
464
- - Support for multi language stop words. The implementation was inspired by John Leachs xapian-fu gem
465
- - Support for query spelling correction (similar to Google's 'did you mean...'). This feature is only
466
- available for persistent databases (due to a limitation of Xapian)
515
+ - Support for multi language stop words. The implementation was inspired by John Leachs xapian-fu gem
516
+ - Support for query spelling correction (similar to Google's 'did you mean...'). This feature is only
517
+ available for persistent databases (due to a limitation of Xapian)
467
518
 
468
519
  Changes:
469
520
 
470
- - Languages must be configured by the iso language code (:en, :de, ...). No more support for the english
471
- language names (:english, :german, ...)
472
- - Reduced the memory footprint when reindexing large tables
521
+ - Languages must be configured by the iso language code (:en, :de, ...). No more support for the english
522
+ language names (:english, :german, ...)
523
+ - Reduced the memory footprint when reindexing large tables
473
524
 
474
- ##0.3.2 (December 10th, 2010)
525
+ ## 0.3.2 (December 10th, 2010)
475
526
 
476
527
  Features:
477
528
 
478
- - Moved the per_page option from Resultset.paginate to Database.search
479
- - Added support for language settings (global and dynamic per object)
480
- - Added support for xapian stemmers
481
- - Removed the dependency to progressbar (but it is still used if available)
482
- - Made the rebuild_xapian_index method silent by default (use :verbose => true to get status info)
529
+ - Moved the per_page option from Resultset.paginate to Database.search
530
+ - Added support for language settings (global and dynamic per object)
531
+ - Added support for xapian stemmers
532
+ - Removed the dependency to progressbar (but it is still used if available)
533
+ - Made the rebuild_xapian_index method silent by default (use :verbose => true to get status info)
483
534
 
484
- ##0.3.1 (December 6th, 2010)
535
+ ## 0.3.1 (December 6th, 2010)
485
536
 
486
537
  Bugfixes:
487
538
 
488
- - Fixed the gemspec
539
+ - Fixed the gemspec
489
540
 
490
- ##0.3.0 (December 4th, 2010)
541
+ ## 0.3.0 (December 4th, 2010)
491
542
 
492
543
  Features:
493
544
 
494
- - Rails integration with configuration file (config/xapian_db.yml) and automatic setup
545
+ - Rails integration with configuration file (config/xapian_db.yml) and automatic setup
495
546
 
496
- ##0.2.0 (December 1st, 2010)
547
+ ## 0.2.0 (December 1st, 2010)
497
548
 
498
549
  Features:
499
550
 
500
- - Blueprint configuration extended
501
- - Adapter for Datamapper
502
- - Search by attribute names
503
- - Search with wildcards
504
- - Document attributes can carry anything that is serializable by YAML
551
+ - Blueprint configuration extended
552
+ - Adapter for Datamapper
553
+ - Search by attribute names
554
+ - Search with wildcards
555
+ - Document attributes can carry anything that is serializable by YAML
505
556
 
506
- ##0.1.0 (November 23th, 2010)
557
+ ## 0.1.0 (November 23th, 2010)
507
558
 
508
559
  Proof of concept, not really useful for real world usage