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