meilisearch 0.27.1 → 0.28.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/meilisearch/index.rb +15 -1
- data/lib/meilisearch/version.rb +1 -1
- metadata +6 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ab1ca4588a18f8b05adf716bd51dc0eab2fb3e701e6d3054dd764575daaa044
|
4
|
+
data.tar.gz: bd65d7e3a941b7fdf5282a16287cedd5cd148d1c202ef56b145e1c574f6580b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e217f70e25f8cd18c040ce373a4f1a853426889a6ac31b2d8fabab176a29cfb42b21be61cfa385c9f1ad7f9a557a3caae818218776f9ab65f3f07c7528d0f719
|
7
|
+
data.tar.gz: 7fbea96f89362ec7699f8ef51f95c13b84161754d15366069d933bb61dd9defcf47d385d68f477eb6a72d16b6d392015bcb012451085f63b2b73e28d74fc71d0
|
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.1
|
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-09 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
|
-
version: 0.17
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.22.0
|
19
|
+
version: '0.17'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 0.17.1
|
30
|
-
- - "<"
|
24
|
+
- - "~>"
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.
|
26
|
+
version: '0.17'
|
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: []
|