|
3 | 3 | # the documentation on build |
4 | 4 | # You can read more on https://github.com/meilisearch/documentation/tree/master/.vuepress/code-samples |
5 | 5 | --- |
| 6 | +get_documents_post_1: |- |
| 7 | + POST http://localhost:7700/indexes/books/documents/fetch |
| 8 | + with data: { |
| 9 | + "filter": "(rating > 3 AND (genres = Adventure OR genres = Fiction)) AND language = English", |
| 10 | + "fields": ["title", "genres", "rating", "language"], |
| 11 | + "limit": 3 |
| 12 | + } |
| 13 | +
|
| 14 | +delete_documents_by_filter_1: |- |
| 15 | + POST http://localhost:7700/indexes/movies/documents/delete |
| 16 | + with data: { "filter": "genres = action OR genres = adventure" } |
| 17 | +
|
| 18 | +get_documents_1: |- |
| 19 | + GET 'http://localhost:7700/indexes/movies/documents?limit=2&filter=genres=action |
| 20 | + mind the filter in the query param (use the POST route in the integrations) |
| 21 | +
|
6 | 22 | getting_started_faceting: |- |
7 | 23 | client.index('movies').update_faceting(max_values_per_facet: 2) |
8 | 24 | getting_started_pagination: |- |
@@ -119,7 +135,7 @@ delete_all_documents_1: |- |
119 | 135 | client.index('movies').delete_all_documents |
120 | 136 | delete_one_document_1: |- |
121 | 137 | client.index('movies').delete_document(25684) |
122 | | -delete_documents_1: |- |
| 138 | +delete_documents_by_batch_1: |- |
123 | 139 | client.index('movies').delete_documents([23488, 153738, 437035, 363869]) |
124 | 140 | search_post_1: |- |
125 | 141 | client.index('movies').search('american ninja') |
|
0 commit comments