The python client for MeiliSearch API.
MeiliSearch provides an ultra relevant and instant full-text search. Our solution is open-source and you can check out our repository here.
You can also use MeiliSearch as a service by registering on meilisearch.com and use our hosted solution.
Here is a quickstart to create an index and add documents.
You can check out the API documentation.
{
"hits": [
{
"id": 456,
"title": "Le Petit Prince",
"_formatted": {
"id": 456,
"title": "Le Petit Prince"
}
},
{
"id": 4,
"title": "Harry Potter and the Half-Blood Prince",
"_formatted": {
"id": 4,
"title": "Harry Potter and the Half-Blood Prince"
}
}
],
"offset": 0,
"limit": 20,
"processingTimeMs": 13,
"query": "prince"
}All the supported options are described in this documentation section.
{
"hits": [
{
"id": 456,
"title": "Le Petit Prince",
"_formatted": {
"id": 456,
"title": "Le Petit Prince"
}
}
],
"offset": 0,
"limit": 1,
"processingTimeMs": 10,
"query": "prince"
}