searchkick 4.0.0 → 5.0.0

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/CHANGELOG.md CHANGED
@@ -1,4 +1,141 @@
1
- ## 4.0.0
1
+ ## 5.0.0 (2022-02-21)
2
+
3
+ - Searches now use lazy loading (similar to Active Record)
4
+ - Added `unscope` option to better support working with default scopes
5
+ - Added support for `:async` and `:queue` modes for `reindex` on relation
6
+ - Added basic protection from unfiltered parameters to `where` option
7
+ - Added `models` option to `similar` method
8
+ - Changed async full reindex to fetch ids instead of using ranges for numeric primary keys with Active Record
9
+ - Changed `searchkick_index_options` to return symbol keys (instead of mix of strings and symbols)
10
+ - Changed non-anchored regular expressions to match expected results (previously warned)
11
+ - Changed record reindex to return `true` to match model and relation reindex
12
+ - Updated async reindex job to call `search_import` for nested associations
13
+ - Fixed removing records when `should_index?` is `false` when `reindex` called on relation
14
+ - Fixed issue with `merge_mappings` for fields that use `searchkick` options
15
+ - Raise error when `search` called on relations
16
+ - Raise `ArgumentError` (instead of warning) for invalid regular expression modifiers
17
+ - Raise `ArgumentError` instead of `RuntimeError` for unknown operators
18
+ - Removed mapping of `id` to `_id` with `order` option
19
+ - Removed `wordnet` option (no longer worked)
20
+ - Removed dependency on `elasticsearch` gem (can use `elasticsearch` or `opensearch-ruby`)
21
+ - Dropped support for Elasticsearch 6
22
+ - Dropped support for Ruby < 2.6 and Active Record < 5.2
23
+ - Dropped support for NoBrainer and Cequel
24
+ - Dropped support for `faraday_middleware-aws-signers-v4` (use `faraday_middleware-aws-sigv4` instead)
25
+
26
+ ## 4.6.3 (2021-11-19)
27
+
28
+ - Added support for reloadable synonyms for OpenSearch
29
+ - Added experimental support for `opensearch-ruby` gem
30
+ - Removed `elasticsearch-xpack` dependency for reloadable synonyms
31
+
32
+ ## 4.6.2 (2021-11-15)
33
+
34
+ - Added support for beginless ranges to `where` option
35
+ - Fixed `like` and `ilike` with `+` character
36
+ - Fixed warning about accessing system indices when no model or index specified
37
+
38
+ ## 4.6.1 (2021-09-25)
39
+
40
+ - Added `ilike` operator for Elasticsearch 7.10+
41
+ - Fixed missing methods with `multi_search`
42
+
43
+ ## 4.6.0 (2021-08-22)
44
+
45
+ - Added support for case-insensitive regular expressions with Elasticsearch 7.10+
46
+ - Added support for `OPENSEARCH_URL`
47
+ - Fixed error with `debug` option
48
+
49
+ ## 4.5.2 (2021-08-05)
50
+
51
+ - Fixed error with reindex queue
52
+ - Fixed error with `model_name` method with multiple models
53
+ - Fixed error with `debug` option with elasticsearch-ruby 7.14
54
+
55
+ ## 4.5.1 (2021-08-03)
56
+
57
+ - Improved performance of reindex queue
58
+
59
+ ## 4.5.0 (2021-06-07)
60
+
61
+ - Added experimental support for OpenSearch
62
+ - Added support for synonyms in Japanese
63
+
64
+ ## 4.4.4 (2021-03-12)
65
+
66
+ - Fixed `too_long_frame_exception` with `scroll` method
67
+ - Fixed multi-word emoji tokenization
68
+
69
+ ## 4.4.3 (2021-02-25)
70
+
71
+ - Added support for Hunspell
72
+ - Fixed warning about accessing system indices
73
+
74
+ ## 4.4.2 (2020-11-23)
75
+
76
+ - Added `missing_records` method to results
77
+ - Fixed issue with `like` and special characters
78
+
79
+ ## 4.4.1 (2020-06-24)
80
+
81
+ - Added `stem_exclusion` and `stemmer_override` options
82
+ - Added `with_score` method to search results
83
+ - Improved error message for `reload_synonyms` with non-OSS version of Elasticsearch
84
+ - Improved output for reindex rake task
85
+
86
+ ## 4.4.0 (2020-06-17)
87
+
88
+ - Added support for reloadable, multi-word, search time synonyms
89
+ - Fixed another deprecation warning in Ruby 2.7
90
+
91
+ ## 4.3.1 (2020-05-13)
92
+
93
+ - Fixed error with `exclude` in certain cases for Elasticsearch 7.7
94
+
95
+ ## 4.3.0 (2020-02-19)
96
+
97
+ - Fixed `like` queries with `"` character
98
+ - Better error when invalid parameters passed to `where`
99
+
100
+ ## 4.2.1 (2020-01-27)
101
+
102
+ - Fixed deprecation warnings with Elasticsearch
103
+ - Fixed deprecation warnings in Ruby 2.7
104
+
105
+ ## 4.2.0 (2019-12-18)
106
+
107
+ - Added safety check for multiple `Model.reindex`
108
+ - Added `deep_paging` option
109
+ - Added request parameters to search notifications and curl representation
110
+ - Removed curl from search notifications to prevent confusion
111
+
112
+ ## 4.1.1 (2019-11-19)
113
+
114
+ - Added `chinese2` and `korean2` languages
115
+ - Improved performance of async full reindex
116
+ - Fixed `searchkick:reindex:all` rake task for Rails 6
117
+
118
+ ## 4.1.0 (2019-08-01)
119
+
120
+ - Added `like` operator
121
+ - Added `exists` operator
122
+ - Added warnings for certain regular expressions
123
+ - Fixed anchored regular expressions
124
+
125
+ ## 4.0.2 (2019-06-04)
126
+
127
+ - Added block form of `scroll`
128
+ - Added `clear_scroll` method
129
+ - Fixed custom mappings
130
+
131
+ ## 4.0.1 (2019-05-30)
132
+
133
+ - Added support for scroll API
134
+ - Made type optional for custom mapping for Elasticsearch 6
135
+ - Fixed error when suggestions empty
136
+ - Fixed `models` option with inheritance
137
+
138
+ ## 4.0.0 (2019-04-11)
2
139
 
3
140
  - Added support for Elasticsearch 7
4
141
  - Added `models` option
@@ -7,8 +144,9 @@ Breaking changes
7
144
 
8
145
  - Removed support for Elasticsearch 5
9
146
  - Removed support for multi-word synonyms (they no longer work with shingles)
147
+ - Removed support for Active Record < 5
10
148
 
11
- ## 3.1.3
149
+ ## 3.1.3 (2019-04-11)
12
150
 
13
151
  - Added support for endless ranges
14
152
  - Added support for routing to `similar` method
@@ -17,7 +155,7 @@ Breaking changes
17
155
  - Fixed error with some language stemmers and Elasticsearch 6.5
18
156
  - Fixed issue with misspellings below and body block
19
157
 
20
- ## 3.1.2
158
+ ## 3.1.2 (2018-09-27)
21
159
 
22
160
  - Improved performance of indices boost
23
161
  - Fixed deletes with routing and `async` callbacks
@@ -25,7 +163,7 @@ Breaking changes
25
163
  - Fixed deprecation warnings
26
164
  - Fixed field misspellings for older partial match format
27
165
 
28
- ## 3.1.1
166
+ ## 3.1.1 (2018-08-09)
29
167
 
30
168
  - Added per-field misspellings
31
169
  - Added `case_sensitive` option
@@ -34,7 +172,7 @@ Breaking changes
34
172
  - Fixed `exclude` option with match all
35
173
  - Fixed `with_highlights` method
36
174
 
37
- ## 3.1.0
175
+ ## 3.1.0 (2018-05-12)
38
176
 
39
177
  - Added `:inline` as alias for `true` for `callbacks` and `mode` options
40
178
  - Friendlier error message for bad mapping with partial matches
@@ -43,7 +181,7 @@ Breaking changes
43
181
  - Fixed `with_hit` and `with_highlights` when records in search index do not exist in database
44
182
  - Fixed error with highlights and match all
45
183
 
46
- ## 3.0.3
184
+ ## 3.0.3 (2018-04-22)
47
185
 
48
186
  - Added support for pagination with `body` option
49
187
  - Added `boost_by_recency` option
@@ -52,19 +190,19 @@ Breaking changes
52
190
  - Fixed error with optional operators in Ruby regexp
53
191
  - Fixed deprecation warnings for Elasticsearch 6.2+
54
192
 
55
- ## 3.0.2
193
+ ## 3.0.2 (2018-03-26)
56
194
 
57
195
  - Added support for Korean and Vietnamese
58
196
  - Fixed `Unsupported argument type: Symbol` for async partial reindex
59
197
  - Fixed infinite recursion with multi search and misspellings below
60
198
  - Do not raise an error when `id` is indexed
61
199
 
62
- ## 3.0.1
200
+ ## 3.0.1 (2018-03-14)
63
201
 
64
202
  - Added `scope` option for partial reindex
65
203
  - Added support for Japanese, Polish, and Ukrainian
66
204
 
67
- ## 3.0.0
205
+ ## 3.0.0 (2018-03-03)
68
206
 
69
207
  - Added support for Chinese
70
208
  - No longer requires fields to query for Elasticsearch 6
@@ -73,7 +211,7 @@ Breaking changes
73
211
  Breaking changes
74
212
 
75
213
  - Removed support for Elasticsearch 2
76
- - Removed support for ActiveRecord < 4.2 and Mongoid < 5
214
+ - Removed support for Active Record < 4.2 and Mongoid < 5
77
215
  - Types are no longer used
78
216
  - The `_all` field is disabled by default in Elasticsearch 5
79
217
  - Conversions are not stemmed by default
@@ -87,7 +225,7 @@ Breaking changes
87
225
  - Removed `with_details` - use `with_highlights` instead
88
226
  - Bumped default `limit` to 10,000
89
227
 
90
- ## 2.5.0
228
+ ## 2.5.0 (2018-02-15)
91
229
 
92
230
  - Try requests 3 times before raising error
93
231
  - Better exception when trying to access results for failed multi-search query
@@ -98,14 +236,14 @@ Breaking changes
98
236
  - Added `scope_results` option
99
237
  - Added `factor` option to `boost_by_distance`
100
238
 
101
- ## 2.4.0
239
+ ## 2.4.0 (2017-11-14)
102
240
 
103
241
  - Fixed `similar` for Elasticsearch 6
104
242
  - Added `inheritance` option
105
243
  - Added `_type` option
106
244
  - Fixed `Must specify fields to search` error when searching `*`
107
245
 
108
- ## 2.3.2
246
+ ## 2.3.2 (2017-09-08)
109
247
 
110
248
  - Added `_all` and `default_fields` options
111
249
  - Added global `index_prefix` option
@@ -117,14 +255,14 @@ Breaking changes
117
255
  - Fixed bug where `routing` and `type` options were silently ignored with `body` option
118
256
  - Fixed `reindex(async: true)` for non-numeric primary keys in Postgres
119
257
 
120
- ## 2.3.1
258
+ ## 2.3.1 (2017-07-06)
121
259
 
122
260
  - Added support for `reindex(async: true)` for non-numeric primary keys
123
261
  - Added `conversions_term` option
124
262
  - Added support for passing fields to `suggest` option
125
263
  - Fixed `page_view_entries` for Kaminari
126
264
 
127
- ## 2.3.0
265
+ ## 2.3.0 (2017-05-06)
128
266
 
129
267
  - Fixed analyzer on dynamically mapped fields
130
268
  - Fixed error with `similar` method and `_all` field
@@ -132,54 +270,54 @@ Breaking changes
132
270
  - Added `queue_name` option
133
271
  - No longer require synonyms to be lowercase
134
272
 
135
- ## 2.2.1
273
+ ## 2.2.1 (2017-04-16)
136
274
 
137
275
  - Added `avg`, `cardinality`, `max`, `min`, and `sum` aggregations
138
276
  - Added `load: {dumpable: true}` option
139
277
  - Added `index_suffix` option
140
278
  - Accept string for `exclude` option
141
279
 
142
- ## 2.2.0
280
+ ## 2.2.0 (2017-03-19)
143
281
 
144
282
  - Fixed bug with text values longer than 256 characters and `_all` field - see [#850](https://github.com/ankane/searchkick/issues/850)
145
283
  - Fixed issue with `_all` field in `searchable`
146
284
  - Fixed `exclude` option with `word_start`
147
285
 
148
- ## 2.1.1
286
+ ## 2.1.1 (2017-01-17)
149
287
 
150
288
  - Fixed duplicate notifications
151
289
  - Added support for `connection_pool`
152
290
  - Added `exclude` option
153
291
 
154
- ## 2.1.0
292
+ ## 2.1.0 (2017-01-15)
155
293
 
156
294
  - Background reindexing and queues are officially supported
157
295
  - Log updates and deletes
158
296
 
159
- ## 2.0.4
297
+ ## 2.0.4 (2017-01-15)
160
298
 
161
299
  - Added support for queuing updates [experimental]
162
300
  - Added `refresh_interval` option to `reindex`
163
301
  - Prefer `search_index` over `searchkick_index`
164
302
 
165
- ## 2.0.3
303
+ ## 2.0.3 (2017-01-12)
166
304
 
167
305
  - Added `async` option to `reindex` [experimental]
168
306
  - Added `misspellings?` method to results
169
307
 
170
- ## 2.0.2
308
+ ## 2.0.2 (2017-01-08)
171
309
 
172
310
  - Added `retain` option to `reindex`
173
311
  - Added support for attributes in highlight tags
174
312
  - Fixed potentially silent errors in reindex job
175
313
  - Improved syntax for `boost_by_distance`
176
314
 
177
- ## 2.0.1
315
+ ## 2.0.1 (2016-12-30)
178
316
 
179
317
  - Added `search_hit` and `search_highlights` methods to models
180
318
  - Improved reindex performance
181
319
 
182
- ## 2.0.0
320
+ ## 2.0.0 (2016-12-28)
183
321
 
184
322
  - Added support for `reindex` on associations
185
323
 
@@ -198,75 +336,75 @@ Breaking changes
198
336
  - The `unsearchable` and `only_analyzed` options have been removed in favor of `searchable` and `filterable`
199
337
  - `load: false` no longer returns an array in Elasticsearch 2
200
338
 
201
- ## 1.5.1
339
+ ## 1.5.1 (2016-12-28)
202
340
 
203
341
  - Added `client_options`
204
342
  - Added `refresh` option to `reindex` method
205
343
  - Improved syntax for partial reindex
206
344
 
207
- ## 1.5.0
345
+ ## 1.5.0 (2016-12-23)
208
346
 
209
347
  - Added support for geo shape indexing and queries
210
348
  - Added `_and`, `_or`, `_not` to `where` option
211
349
 
212
- ## 1.4.2
350
+ ## 1.4.2 (2016-12-21)
213
351
 
214
352
  - Added support for directional synonyms
215
353
  - Easier AWS setup
216
354
  - Fixed `total_docs` method for ES 5+
217
355
  - Fixed exception on update errors
218
356
 
219
- ## 1.4.1
357
+ ## 1.4.1 (2016-12-11)
220
358
 
221
359
  - Added `partial_reindex` method
222
360
  - Added `debug` option to `search` method
223
361
  - Added `profile` option
224
362
 
225
- ## 1.4.0
363
+ ## 1.4.0 (2016-10-26)
226
364
 
227
365
  - Official support for Elasticsearch 5
228
366
  - Boost exact matches for partial matching
229
367
  - Added `searchkick_debug` method
230
368
  - Added `geo_polygon` filter
231
369
 
232
- ## 1.3.6
370
+ ## 1.3.6 (2016-10-08)
233
371
 
234
372
  - Fixed `Job adapter not found` error
235
373
 
236
- ## 1.3.5
374
+ ## 1.3.5 (2016-09-27)
237
375
 
238
376
  - Added support for Elasticsearch 5.0 beta
239
377
  - Added `request_params` option
240
378
  - Added `filterable` option
241
379
 
242
- ## 1.3.4
380
+ ## 1.3.4 (2016-08-23)
243
381
 
244
382
  - Added `resume` option to reindex
245
383
  - Added search timeout to payload
246
384
 
247
- ## 1.3.3
385
+ ## 1.3.3 (2016-08-02)
248
386
 
249
387
  - Fix for namespaced models (broken in 1.3.2)
250
388
 
251
- ## 1.3.2
389
+ ## 1.3.2 (2016-08-01)
252
390
 
253
391
  - Added `body_options` option
254
392
  - Added `date_histogram` aggregation
255
393
  - Added `indices_boost` option
256
394
  - Added support for multiple conversions
257
395
 
258
- ## 1.3.1
396
+ ## 1.3.1 (2016-07-10)
259
397
 
260
398
  - Fixed error with Ruby 2.0
261
399
  - Fixed error with indexing large fields
262
400
 
263
- ## 1.3.0
401
+ ## 1.3.0 (2016-05-04)
264
402
 
265
403
  - Added support for Elasticsearch 5.0 alpha
266
404
  - Added support for phrase matches
267
405
  - Added support for procs for `index_prefix` option
268
406
 
269
- ## 1.2.1
407
+ ## 1.2.1 (2016-02-15)
270
408
 
271
409
  - Added `multi_search` method
272
410
  - Added support for routing for Elasticsearch 2
@@ -274,7 +412,7 @@ Breaking changes
274
412
  - Fixed error with instrumentation for searching multiple models
275
413
  - Fixed instrumentation for bulk updates
276
414
 
277
- ## 1.2.0
415
+ ## 1.2.0 (2016-02-03)
278
416
 
279
417
  - Fixed deprecation warnings with `alias_method_chain`
280
418
  - Added `analyzed_only` option for large text fields
@@ -282,18 +420,18 @@ Breaking changes
282
420
  - Fixed issue in `similar` method with `per_page` option
283
421
  - Added basic support for multiple models
284
422
 
285
- ## 1.1.2
423
+ ## 1.1.2 (2015-12-18)
286
424
 
287
425
  - Added bulk updates with `callbacks` method
288
426
  - Added `bulk_delete` method
289
427
  - Added `search_timeout` option
290
428
  - Fixed bug with new location format for `boost_by_distance`
291
429
 
292
- ## 1.1.1
430
+ ## 1.1.1 (2015-12-14)
293
431
 
294
432
  - Added support for `{lat: lat, lon: lon}` as preferred format for locations
295
433
 
296
- ## 1.1.0
434
+ ## 1.1.0 (2015-12-08)
297
435
 
298
436
  - Added `below` option to misspellings to improve performance
299
437
  - Fixed synonyms for `word_*` partial matches
@@ -303,25 +441,25 @@ Breaking changes
303
441
  - Added `word` option
304
442
  - Added highlighted fields to `load: false`
305
443
 
306
- ## 1.0.3
444
+ ## 1.0.3 (2015-11-27)
307
445
 
308
446
  - Added support for Elasticsearch 2.1
309
447
 
310
- ## 1.0.2
448
+ ## 1.0.2 (2015-11-15)
311
449
 
312
450
  - Throw `Searchkick::ImportError` for errors when importing records
313
451
  - Errors now inherit from `Searchkick::Error`
314
452
  - Added `order` option to aggregations
315
453
  - Added `mapping` method
316
454
 
317
- ## 1.0.1
455
+ ## 1.0.1 (2015-11-05)
318
456
 
319
457
  - Added aggregations method to get raw response
320
458
  - Use `execute: false` for lazy loading
321
459
  - Return nil when no aggs
322
460
  - Added emoji search
323
461
 
324
- ## 1.0.0
462
+ ## 1.0.0 (2015-10-30)
325
463
 
326
464
  - Added support for Elasticsearch 2.0
327
465
  - Added support for aggregations
@@ -335,7 +473,7 @@ Breaking changes
335
473
  - Enabled misspellings by default for partial matches
336
474
  - Enabled transpositions by default for misspellings
337
475
 
338
- ## 0.9.1
476
+ ## 0.9.1 (2015-08-31)
339
477
 
340
478
  - `and` now matches `&`
341
479
  - Added `transpositions` option to misspellings
@@ -343,18 +481,18 @@ Breaking changes
343
481
  - Added `prefix_length` option to `misspellings`
344
482
  - Added ability to set env
345
483
 
346
- ## 0.9.0
484
+ ## 0.9.0 (2015-06-07)
347
485
 
348
486
  - Much better performance for where queries if no facets
349
487
  - Added basic support for regex
350
488
  - Added support for routing
351
489
  - Made `Searchkick.disable_callbacks` thread-safe
352
490
 
353
- ## 0.8.7
491
+ ## 0.8.7 (2015-02-14)
354
492
 
355
493
  - Fixed Mongoid import
356
494
 
357
- ## 0.8.6
495
+ ## 0.8.6 (2015-02-10)
358
496
 
359
497
  - Added support for NoBrainer
360
498
  - Added `stem_conversions: false` option
@@ -363,26 +501,26 @@ Breaking changes
363
501
  - Fixed suggestions with partial match boost
364
502
  - Fixed redefining existing instance methods in models
365
503
 
366
- ## 0.8.5
504
+ ## 0.8.5 (2014-11-11)
367
505
 
368
506
  - Added support for Elasticsearch 1.4
369
507
  - Added `unsearchable` option
370
508
  - Added `select: true` option
371
509
  - Added `body` option
372
510
 
373
- ## 0.8.4
511
+ ## 0.8.4 (2014-11-05)
374
512
 
375
513
  - Added `boost_by_distance`
376
514
  - More flexible highlight options
377
515
  - Better `env` logic
378
516
 
379
- ## 0.8.3
517
+ ## 0.8.3 (2014-09-20)
380
518
 
381
- - Added support for ActiveJob
519
+ - Added support for Active Job
382
520
  - Added `timeout` setting
383
521
  - Fixed import with no records
384
522
 
385
- ## 0.8.2
523
+ ## 0.8.2 (2014-08-18)
386
524
 
387
525
  - Added `async` to `callbacks` option
388
526
  - Added `wordnet` option
@@ -390,17 +528,17 @@ Breaking changes
390
528
  - Catch misspelling of `misspellings` option
391
529
  - Improved logging
392
530
 
393
- ## 0.8.1
531
+ ## 0.8.1 (2014-08-16)
394
532
 
395
533
  - Added `search_method_name` option
396
534
  - Fixed `order` for array of hashes
397
535
  - Added support for Mongoid 2
398
536
 
399
- ## 0.8.0
537
+ ## 0.8.0 (2014-07-12)
400
538
 
401
539
  - Added support for Elasticsearch 1.2
402
540
 
403
- ## 0.7.9
541
+ ## 0.7.9 (2014-06-30)
404
542
 
405
543
  - Added `tokens` method
406
544
  - Added `json` option
@@ -408,86 +546,86 @@ Breaking changes
408
546
  - Added `prev_page` for Kaminari pagination
409
547
  - Added `import` option to reindex
410
548
 
411
- ## 0.7.8
549
+ ## 0.7.8 (2014-06-22)
412
550
 
413
551
  - Added `boost_by` and `boost_where` options
414
552
  - Added ability to boost fields - `name^10`
415
553
  - Added `select` option for `load: false`
416
554
 
417
- ## 0.7.7
555
+ ## 0.7.7 (2014-06-10)
418
556
 
419
557
  - Added support for automatic failover
420
558
  - Fixed `operator` option (and default) for partial matches
421
559
 
422
- ## 0.7.6
560
+ ## 0.7.6 (2014-05-20)
423
561
 
424
562
  - Added `stats` option to facets
425
563
  - Added `padding` option
426
564
 
427
- ## 0.7.5
565
+ ## 0.7.5 (2014-05-13)
428
566
 
429
567
  - Do not throw errors when index becomes out of sync with database
430
568
  - Added custom exception types
431
569
  - Fixed `offset` and `offset_value`
432
570
 
433
- ## 0.7.4
571
+ ## 0.7.4 (2014-05-06)
434
572
 
435
573
  - Fixed reindex with inheritance
436
574
 
437
- ## 0.7.3
575
+ ## 0.7.3 (2014-04-30)
438
576
 
439
577
  - Fixed multi-index searches
440
578
  - Fixed suggestions for partial matches
441
579
  - Added `offset` and `length` for improved pagination
442
580
 
443
- ## 0.7.2
581
+ ## 0.7.2 (2014-04-24)
444
582
 
445
583
  - Added smart facets
446
584
  - Added more fields to `load: false` result
447
585
  - Fixed logging for multi-index searches
448
586
  - Added `first_page?` and `last_page?` for improved Kaminari support
449
587
 
450
- ## 0.7.1
588
+ ## 0.7.1 (2014-04-12)
451
589
 
452
590
  - Fixed huge issue w/ zero-downtime reindexing on 0.90
453
591
 
454
- ## 0.7.0
592
+ ## 0.7.0 (2014-04-10)
455
593
 
456
594
  - Added support for Elasticsearch 1.1
457
595
  - Dropped support for Elasticsearch below 0.90.4 (unfortunate side effect of above)
458
596
 
459
- ## 0.6.3
597
+ ## 0.6.3 (2014-04-08)
460
598
 
461
599
  - Removed patron since no support for Windows
462
600
  - Added error if `searchkick` is called multiple times
463
601
 
464
- ## 0.6.2
602
+ ## 0.6.2 (2014-04-05)
465
603
 
466
604
  - Added logging
467
605
  - Fixed index_name option
468
606
  - Added ability to use proc as the index name
469
607
 
470
- ## 0.6.1
608
+ ## 0.6.1 (2014-03-24)
471
609
 
472
610
  - Fixed huge issue w/ zero-downtime reindexing on 0.90 and elasticsearch-ruby 1.0
473
611
  - Restore load: false behavior
474
612
  - Restore total_entries method
475
613
 
476
- ## 0.6.0
614
+ ## 0.6.0 (2014-03-22)
477
615
 
478
616
  - Moved to elasticsearch-ruby
479
617
  - Added support for modifying the query and viewing the response
480
618
  - Added support for page_entries_info method
481
619
 
482
- ## 0.5.3
620
+ ## 0.5.3 (2014-02-24)
483
621
 
484
622
  - Fixed bug w/ word_* queries
485
623
 
486
- ## 0.5.2
624
+ ## 0.5.2 (2014-02-12)
487
625
 
488
- - Use after_commit hook for ActiveRecord to prevent data inconsistencies
626
+ - Use after_commit hook for Active Record to prevent data inconsistencies
489
627
 
490
- ## 0.5.1
628
+ ## 0.5.1 (2014-02-12)
491
629
 
492
630
  - Replaced stop words with common terms query
493
631
  - Added language option
@@ -495,89 +633,89 @@ Breaking changes
495
633
  - Fixed bug with MongoDB integer _id
496
634
  - Fixed reindex bug when callbacks disabled
497
635
 
498
- ## 0.5.0
636
+ ## 0.5.0 (2014-01-20)
499
637
 
500
638
  - Better control over partial matches
501
639
  - Added merge_mappings option
502
640
  - Added batch_size option
503
641
  - Fixed bug with nil where clauses
504
642
 
505
- ## 0.4.2
643
+ ## 0.4.2 (2013-12-29)
506
644
 
507
645
  - Added `should_index?` method to control which records are indexed
508
646
  - Added ability to temporarily disable callbacks
509
647
  - Added custom mappings
510
648
 
511
- ## 0.4.1
649
+ ## 0.4.1 (2013-12-19)
512
650
 
513
651
  - Fixed issue w/ inheritance mapping
514
652
 
515
- ## 0.4.0
653
+ ## 0.4.0 (2013-12-11)
516
654
 
517
655
  - Added support for Mongoid 4
518
656
  - Added support for multiple locations
519
657
 
520
- ## 0.3.5
658
+ ## 0.3.5 (2013-12-08)
521
659
 
522
660
  - Added facet ranges
523
661
  - Added all operator
524
662
 
525
- ## 0.3.4
663
+ ## 0.3.4 (2013-11-22)
526
664
 
527
665
  - Added highlighting
528
666
  - Added :distance option to misspellings
529
667
  - Fixed issue w/ BigDecimal serialization
530
668
 
531
- ## 0.3.3
669
+ ## 0.3.3 (2013-11-04)
532
670
 
533
671
  - Better error messages
534
672
  - Added where: {field: nil} queries
535
673
 
536
- ## 0.3.2
674
+ ## 0.3.2 (2013-11-02)
537
675
 
538
676
  - Added support for single table inheritance
539
677
  - Removed Tire::Model::Search
540
678
 
541
- ## 0.3.1
679
+ ## 0.3.1 (2013-11-02)
542
680
 
543
681
  - Added index_prefix option
544
682
  - Fixed ES issue with incorrect facet counts
545
683
  - Added option to turn off special characters
546
684
 
547
- ## 0.3.0
685
+ ## 0.3.0 (2013-11-02)
548
686
 
549
687
  - Fixed reversed coordinates
550
688
  - Added bounded by a box queries
551
689
  - Expanded `or` queries
552
690
 
553
- ## 0.2.8
691
+ ## 0.2.8 (2013-09-30)
554
692
 
555
693
  - Added option to disable callbacks
556
694
  - Fixed bug with facets with Elasticsearch 0.90.5
557
695
 
558
- ## 0.2.7
696
+ ## 0.2.7 (2013-09-23)
559
697
 
560
698
  - Added limit to facet
561
699
  - Improved similar items
562
700
 
563
- ## 0.2.6
701
+ ## 0.2.6 (2013-09-10)
564
702
 
565
703
  - Added option to disable misspellings
566
704
 
567
- ## 0.2.5
705
+ ## 0.2.5 (2013-08-30)
568
706
 
569
707
  - Added geospartial searches
570
708
  - Create alias before importing document if no alias exists
571
709
  - Fixed exception when :per_page option is a string
572
710
  - Check `RAILS_ENV` if `RACK_ENV` is not set
573
711
 
574
- ## 0.2.4
712
+ ## 0.2.4 (2013-08-20)
575
713
 
576
714
  - Use `to_hash` instead of `as_json` for default `search_data` method
577
715
  - Works for Mongoid 1.3
578
716
  - Use one shard in test environment for consistent scores
579
717
 
580
- ## 0.2.3
718
+ ## 0.2.3 (2013-08-16)
581
719
 
582
720
  - Setup Travis
583
721
  - Clean old indices before reindex
@@ -585,33 +723,33 @@ Breaking changes
585
723
  - Fixed pagination
586
724
  - Added `similar` method
587
725
 
588
- ## 0.2.2
726
+ ## 0.2.2 (2013-08-11)
589
727
 
590
728
  - Clean old indices after reindex
591
729
  - More expansions for fuzzy queries
592
730
 
593
- ## 0.2.1
731
+ ## 0.2.1 (2013-08-11)
594
732
 
595
733
  - Added Rails logger
596
734
  - Only fetch ids when `load: true`
597
735
 
598
- ## 0.2.0
736
+ ## 0.2.0 (2013-08-10)
599
737
 
600
738
  - Added autocomplete
601
739
  - Added “Did you mean” suggestions
602
740
  - Added personalized searches
603
741
 
604
- ## 0.1.4
742
+ ## 0.1.4 (2013-08-03)
605
743
 
606
744
  - Bug fix
607
745
 
608
- ## 0.1.3
746
+ ## 0.1.3 (2013-08-03)
609
747
 
610
748
  - Changed edit distance to one for misspellings
611
749
  - Raise errors when indexing fails
612
750
  - Fixed pagination
613
751
  - Fixed :include option
614
752
 
615
- ## 0.1.2
753
+ ## 0.1.2 (2013-07-30)
616
754
 
617
755
  - Launch