Your plugin looks like a fantastic integration for Meilisearch. We are currently setting up a large-scale website with over 1 million posts on a powerful server, and we want to use Meilisearch for our search functionality.
For maximum performance, we are using the Meta Box plugin with its Custom Database Tables extension. This means our custom fields are stored in dedicated, custom SQL tables rather than the default wp_postmeta table.
Does CelerSearch support indexing custom fields stored in Meta Box custom tables? If not, is there a specific hook or filter we can use to manually inject these custom table fields into the Meilisearch index during synchronization?
We really want to leverage Meilisearch at this scale and would love to use your plugin if it supports this setup. Looking forward to your response.
Thank you so much Darko, much appreciated! I’m now importing the millions of posts to the new WordPress site. After that, I’ll install CelerSearch, try it and give you a five-star review through wp.org.
Hey @kocakserdar – Thank you. Hope the plugin works for you. As always if there are any issues feel free to report them and we will take a look and fix if necessary.
I finished importing posts to the site and created a test Meilisearch instance for testing the CelerSearch plugin. Looks like it works smoothly. The thing is that, it returns error if I create more than 400-500K indexes. I think this happens because of Cloudflare’s 100-second limit. Is it possible to use WP-CLI to create indexes or configure cron to make it working in the background?
Once again thank you so much for your brilliant plugin and support. Much appreciated!
Thanks for the information, yes – this could happen due to different factors. WP CLI would be much bettter option given your index size.
WP CLI Interface
Find the configured index ID/slug
wp celersearch index list
Check local and remote document counts
wp celersearch index info <index-slug>
Preview counts without indexing
wp celersearch reindex <index-slug> --dry-run
Index/update the data
wp celersearch reindex <index-slug>
Verify the result
wp celersearch index info <index-slug>
Default mode
The default mode is refresh. It keeps search available, upserts current WordPress records, and removes stale remote documents afterward.
To rebuild everything from scratch:
wp celersearch reindex --mode=full
A full rebuild deletes and recreates the remote index, so search is temporarily unavailable. Use it when the primary key changes or when you explicitly need a clean rebuild. The older –clear option is only a deprecated alias for –mode=full.