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