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
With the `updateId`, you can check the status (`processed` or `failed`) of your documents addition thanks to this [method](#update-status).
78
+
With the `updateId`, you can check the status (`processed` or `failed`) of your documents addition thanks to this [method](https://docs.meilisearch.com/references/updates.html#get-an-update-status).
83
79
84
80
#### Search in index <!-- omit in toc -->
81
+
85
82
```python
86
83
# MeiliSearch is typo-tolerant:
87
84
index.search('harry pottre')
@@ -107,128 +104,19 @@ This package is compatible with the following MeiliSearch versions:
107
104
-`v0.14.X`
108
105
-`v0.13.X`
109
106
110
-
## 🎬 Examples
111
-
112
-
You can check out [the API documentation](https://docs.meilisearch.com/references/).
This `updateId` allows you to [track the current update](#update-status).
161
-
162
-
#### Delete documents <!-- omit in toc -->
163
-
164
-
```python
165
-
# Delete one document
166
-
index.delete_document(2)
167
-
# Delete several documents
168
-
index.delete_documents([1, 42])
169
-
# Delete all documents
170
-
index.delete_all_documents()
171
-
```
172
-
173
-
### Update status
174
-
175
-
```python
176
-
# Get one update status
177
-
# Parameter: the updateId got after an asynchronous request (e.g. documents addition)
178
-
index.get_update_status(1)
179
-
# Get all updates status
180
-
index.get_all_update_status()
181
-
```
182
-
183
-
### Search
107
+
## 🎬 Documentation and Examples
184
108
185
-
#### Basic search <!-- omit in toc -->
109
+
MeiliSearch documentation provides **examples** and a detailed explanation of every one of its features and functionalities, including examples on how to implement them **using this SDK**.
186
110
187
-
```python
188
-
index.search('prince')
189
-
```
190
-
191
-
```json
192
-
{
193
-
"hits": [
194
-
{
195
-
"book_id": 456,
196
-
"title": "Le Petit Prince"
197
-
},
198
-
{
199
-
"book_id": 4,
200
-
"title": "Harry Potter and the Half-Blood Prince"
201
-
}
202
-
],
203
-
"offset": 0,
204
-
"limit": 20,
205
-
"processingTimeMs": 13,
206
-
"query": "prince"
207
-
}
208
-
```
111
+
Please read the [guides available in the documentation](https://docs.meilisearch.com/guides/) or check the [API references](https://docs.meilisearch.com/references/) to find the one that you need!
209
112
210
-
#### Custom search <!-- omit in toc -->
113
+
The following sections may interest you:
211
114
212
-
All the supported options are described in [this documentation section](https://docs.meilisearch.com/references/search.html#search-in-an-index).
0 commit comments