Skip to main content
Full-text search is the core feature of Meilisearch. Once you have documents in an index, you can search them with a simple query and get relevant results in milliseconds. If you haven’t added documents yet, follow the indexing getting started guide first. Send a search request to your index with the q parameter:
Meilisearch returns a JSON response with matching documents:

Understanding the response

Search with typos

Meilisearch handles typos automatically. A search for “galxy” or “galaxi” still returns results for “galaxy”:
This works because Meilisearch uses typo tolerance to match words even when they contain spelling mistakes.

Search with multiple words

When you search with multiple words, Meilisearch finds documents containing any of those words and ranks them by how many words match:
Documents containing both “dark” and “knight” rank higher than documents containing only one of those words. You can control this behavior with the matching strategy.

Limit and paginate results

Control how many results you get back with limit and offset:
This returns 5 results starting from the 11th match.

Next steps

Highlight results

Show users where their query matched in each result

Phrase search

Search for exact phrases with quotes

Add filters

Narrow results with filters and sorting

Relevancy

Understand and customize how results are ranked