searchkick 5.0.1 → 5.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +62 -0
- data/LICENSE.txt +1 -1
- data/README.md +204 -147
- data/lib/searchkick/index.rb +3 -2
- data/lib/searchkick/index_options.rb +2 -2
- data/lib/searchkick/log_subscriber.rb +3 -3
- data/lib/searchkick/middleware.rb +8 -1
- data/lib/searchkick/model.rb +2 -2
- data/lib/searchkick/query.rb +18 -4
- data/lib/searchkick/reindex_queue.rb +12 -7
- data/lib/searchkick/relation.rb +215 -4
- data/lib/searchkick/relation_indexer.rb +12 -7
- data/lib/searchkick/results.rb +3 -1
- data/lib/searchkick/version.rb +1 -1
- data/lib/searchkick/where.rb +11 -0
- data/lib/searchkick.rb +23 -21
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18ce029db59c59e668c7c5f4d1e05702d9631f307736251856658eb9b6a20618
|
4
|
+
data.tar.gz: c4f72347ed409d994bb44d16a48da881165ce825e0dc00192a7acba2b687318f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b17985dfd054b0fe5579ea1057ab9f052a7dbf54c091628ade76fb86616b7c938ea616f3d0367d486e63d66d037b86866543ae902350c24f9b63f25e079e3859
|
7
|
+
data.tar.gz: b576abbc0681e466638164b9b92c8edc5e91c771fd3c538d5b4f8c07597c939be882d4dc9b3cb89e8e43ae913804960c93fdfa2ab8eab1b1cee9566f86adcbd5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,65 @@
|
|
1
|
+
## 5.3.0 (2023-07-02)
|
2
|
+
|
3
|
+
- Fixed error with `cutoff_frequency`
|
4
|
+
- Dropped support for Ruby < 3 and Active Record < 6.1
|
5
|
+
- Dropped support for Mongoid < 7
|
6
|
+
|
7
|
+
## 5.2.4 (2023-05-11)
|
8
|
+
|
9
|
+
- Fixed error with non-string routing and `:async` mode
|
10
|
+
|
11
|
+
## 5.2.3 (2023-04-12)
|
12
|
+
|
13
|
+
- Fixed error with missing records and multiple models
|
14
|
+
|
15
|
+
## 5.2.2 (2023-04-01)
|
16
|
+
|
17
|
+
- Fixed `total_docs` method
|
18
|
+
- Fixed deprecation warning with Active Support 7.1
|
19
|
+
|
20
|
+
## 5.2.1 (2023-02-21)
|
21
|
+
|
22
|
+
- Added support for `redis-client` gem
|
23
|
+
|
24
|
+
## 5.2.0 (2023-02-08)
|
25
|
+
|
26
|
+
- Added model name to warning about missing records
|
27
|
+
- Fixed unnecessary data loading when reindexing relations with `:async` and `:queue` modes
|
28
|
+
|
29
|
+
## 5.1.2 (2023-01-29)
|
30
|
+
|
31
|
+
- Fixed error with missing point in time
|
32
|
+
|
33
|
+
## 5.1.1 (2022-12-05)
|
34
|
+
|
35
|
+
- Added support for strings for `offset` and `per_page`
|
36
|
+
|
37
|
+
## 5.1.0 (2022-10-12)
|
38
|
+
|
39
|
+
- Added support for fractional search timeout
|
40
|
+
- Fixed search timeout with `elasticsearch` 8+ and `opensearch-ruby` gems
|
41
|
+
- Fixed search timeout not applying to `multi_search`
|
42
|
+
|
43
|
+
## 5.0.5 (2022-10-09)
|
44
|
+
|
45
|
+
- Added `model` method to `Searchkick::Relation`
|
46
|
+
- Fixed deprecation warning with `redis` gem
|
47
|
+
- Fixed `respond_to?` method on relation loading relation
|
48
|
+
- Fixed `Relation loaded` error for non-mutating methods on relation
|
49
|
+
|
50
|
+
## 5.0.4 (2022-06-16)
|
51
|
+
|
52
|
+
- Added `max_result_window` option
|
53
|
+
- Improved error message for unsupported versions of Elasticsearch
|
54
|
+
|
55
|
+
## 5.0.3 (2022-03-13)
|
56
|
+
|
57
|
+
- Fixed context for index name for inherited models
|
58
|
+
|
59
|
+
## 5.0.2 (2022-03-03)
|
60
|
+
|
61
|
+
- Fixed index name for inherited models
|
62
|
+
|
1
63
|
## 5.0.1 (2022-02-27)
|
2
64
|
|
3
65
|
- Prefer `mode: :async` over `async: true` for full reindex
|
data/LICENSE.txt
CHANGED