Adding documents to Meilisearch is taking longer than expected? The following tips will help you speed up the indexing process.
Define searchable attributes
To speed up indexing, review the searchable attributes list and ensure it includes only the fields you want to be checked for query word matches. This improves relevance and search speed by eliminating irrelevant data and preventing unnecessary database growth.
Utilize filterable and sortable attributes
Review ranking rules
Modifying ranking rules may trigger a reindexing process. Consider the impact and plan accordingly.
Optimize document size
Smaller documents are processed faster. Compress your data using methods such as
gzip supported by Meilisearch. Refer to the documentation for more details.
Keep up with the latest stable version
Regularly update to the latest Meilisearch release to take advantage of performance improvements that can significantly enhance indexing speed.
By following these recommendations, you can optimize the performance of Meilisearch and enhance the overall search experience for your users. If you have any question, you can join us on Discord.
Boost productivity and streamline development with Meilisearch Cloud. No more server deployment or manual updates. Try it free for 14 days, no credit card needed.