We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35bce58 commit e05c6caCopy full SHA for e05c6ca
README.md
@@ -121,6 +121,8 @@ You can check out [the API documentation](https://docs.meilisearch.com/reference
121
client.create_index('books')
122
# Create an index and give the primary-key
123
client.create_index('books', {'primaryKey': 'book_id'})
124
+# Get an index or create it if it doesn't exist
125
+client.get_or_create_index('books', {'primaryKey': 'book_id'})
126
```
127
128
#### List all indexes <!-- omit in toc -->
0 commit comments