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