You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -100,20 +100,20 @@ With the `updateId`, you can check the status (`enqueued`, `processing`, `proces
100
100
101
101
```ruby
102
102
# MeiliSearch is typo-tolerant:
103
-
puts index.search('harry pottre')
103
+
puts index.search('carlo')
104
104
```
105
105
Output:
106
106
107
107
```ruby
108
108
{
109
109
"hits" => [{
110
-
"book_id" => 4,
111
-
"title" => "Harry Potter and the Half-Blood Prince"
110
+
"id" => 1,
111
+
"title" => "Carol"
112
112
}],
113
113
"offset" => 0,
114
114
"limit" => 20,
115
115
"processingTimeMs" => 1,
116
-
"query" => "harry pottre"
116
+
"query" => "carlo"
117
117
}
118
118
```
119
119
@@ -123,7 +123,7 @@ All the supported options are described in the [search parameters](https://docs.
123
123
124
124
```ruby
125
125
index.search(
126
-
'hob',
126
+
'wonder',
127
127
attributesToHighlight: ['*']
128
128
)
129
129
```
@@ -134,24 +134,24 @@ JSON output:
134
134
{
135
135
"hits": [
136
136
{
137
-
"book_id": 1344,
138
-
"title": "The Hobbit",
137
+
"id": 2,
138
+
"title": "Wonder Woman",
139
139
"_formatted": {
140
-
"book_id": 1344,
141
-
"title": "The <em>Hob</em>bit"
140
+
"id": 2,
141
+
"title": "<em>Wonder</em> Woman"
142
142
}
143
143
}
144
144
],
145
145
"offset": 0,
146
146
"limit": 20,
147
147
"processingTimeMs": 0,
148
-
"query": "hob"
148
+
"query": "wonder"
149
149
}
150
150
```
151
151
152
152
## 🤖 Compatibility with MeiliSearch
153
153
154
-
This package only guarantees the compatibility with the [version v0.22.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.22.0).
154
+
This package only guarantees the compatibility with the [version v0.23.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.23.0).
0 commit comments