meilisearch 0.27.1 → 0.28.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.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/meilisearch/index.rb +15 -1
- data/lib/meilisearch/version.rb +1 -1
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '068526c1c6c9f47c815ab2ce81bb39b6b5bb12c3802f3902375c46638d9bfe1f'
|
4
|
+
data.tar.gz: c67d1ba33bd12157246d23efcca30a70ba35b57c7bad38de6f9b9740773b6ea5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 335d9c9ee96a791d29f4dabeae26145386beba2409a0437ebf93511904953ffaf0c3a6275cf7a730c84e7d9a7a5f07a66ed1979eea5551caada60524ba1fa4ee
|
7
|
+
data.tar.gz: 40aa1f1f55dd9fc2334531e8d1e7b660033031dc8969a67723fd1513b81d368f1bd36b95840d5adb6bcbb998e5d529a75b4fdc92b95f9116953ab2a6ee3909ec
|
data/README.md
CHANGED
@@ -53,7 +53,8 @@ Say goodbye to server deployment and manual updates with [Meilisearch Cloud](htt
|
|
53
53
|
|
54
54
|
## 🔧 Installation
|
55
55
|
|
56
|
-
|
56
|
+
We officially support any version of Ruby that is still receiving at least [security maintenance](https://www.ruby-lang.org/en/downloads/branches/). You may, however, be fine with any Ruby version above 3.0.
|
57
|
+
However, we cannot guarantee support if your version is no longer being maintained.
|
57
58
|
|
58
59
|
With `gem` in command line:
|
59
60
|
```bash
|
data/lib/meilisearch/index.rb
CHANGED
@@ -386,7 +386,7 @@ module MeiliSearch
|
|
386
386
|
Models::Task.new(response, task_endpoint)
|
387
387
|
end
|
388
388
|
|
389
|
-
### SETTINGS -
|
389
|
+
### SETTINGS - DISTINCT ATTRIBUTE
|
390
390
|
|
391
391
|
def distinct_attribute
|
392
392
|
http_get "/indexes/#{@uid}/settings/distinct-attribute"
|
@@ -591,5 +591,19 @@ module MeiliSearch
|
|
591
591
|
def reset_proximity_precision
|
592
592
|
http_delete("/indexes/#{@uid}/settings/proximity-precision")
|
593
593
|
end
|
594
|
+
|
595
|
+
### SETTINGS - SEARCH CUTOFF MS
|
596
|
+
|
597
|
+
def search_cutoff_ms
|
598
|
+
http_get("/indexes/#{@uid}/settings/search-cutoff-ms")
|
599
|
+
end
|
600
|
+
|
601
|
+
def update_search_cutoff_ms(search_cutoff_ms_attribute)
|
602
|
+
http_put("/indexes/#{@uid}/settings/search-cutoff-ms", search_cutoff_ms_attribute)
|
603
|
+
end
|
604
|
+
|
605
|
+
def reset_search_cutoff_ms
|
606
|
+
http_delete("/indexes/#{@uid}/settings/search-cutoff-ms")
|
607
|
+
end
|
594
608
|
end
|
595
609
|
end
|
data/lib/meilisearch/version.rb
CHANGED
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meilisearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Meili
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.17.1
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.22.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.17.1
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.22.0
|
33
27
|
description: An easy-to-use ruby client for Meilisearch API. See https://github.com/meilisearch/meilisearch
|
34
28
|
email: bonjour@meilisearch.com
|
35
29
|
executables: []
|