GuidePremium
The four blog indexers in CoullWorks Blog for Magento 2
What each of the four CoullWorks Blog Search indexers does, what makes each one run, how to set their mode in Index Management and rebuild them from the command line.
Updated 17 November 2026Back to the package pageBuy
Blog search reads a search index, not the blog tables. Four indexers keep that index current. They appear in System, Tools, Index Management beside Magento's own, and they follow Magento's usual rules for indexers. If you have never changed an indexer's mode before, the steps below are the whole of it.
What each indexer does#
| Indexer (as named in Index Management) | Id | Rebuilds | Reacts to changes in |
|---|---|---|---|
| CoullWorks Blog Search | coullworks_blog_post | The search document of each visible post, in the store's search engine and in Algolia when it is active | Posts, their store views, tags, categories and customer groups |
| CoullWorks Blog Search: category changes | coullworks_blog_post_category | The search documents of the posts that use a category | A category being renamed or changed |
| CoullWorks Blog Search: tag changes | coullworks_blog_post_tag | The search documents of the posts that use a tag | A tag being renamed or changed |
| CoullWorks Blog Search: author changes | coullworks_blog_post_author | The search documents of the posts by an author | An author being renamed or changed |
A post's search document holds its title, excerpt, body text with the tags stripped, category and tag names, author, address, image, publish date and customer groups. Only posts that are visible are written. The dates for a scheduled post are checked at search time, so a post scheduled for the future appears on time without a reindex.
The last three exist because a post's document carries its category, tag and author names. Renaming a tag would otherwise leave stale names in the index until each post was saved again.
Set the mode#
Each indexer is in one of two modes:
- Update on Save. The index is updated at once when a post is saved or deleted. It is simple, and it adds a little to every admin save.
- Update by Schedule. Changes are queued and a cron job applies them. It keeps saves fast, and it needs cron running: with no cron, new posts never reach search. A row shows "backlog" while changes are waiting.
Set the three change indexers to the same mode as CoullWorks Blog Search, as each one's description in Index Management asks.

System, Tools, Index Management with 18 records: Magento's own indexers, then the four blog indexers at the bottom ("CoullWorks Blog Search" and its category, tag and author changes rows), each with its description, a green "Update by Schedule" mode, status "Ready" and a Schedule Status such as "IDLE (10 IN BACKLOG)". The backlogs in this capture (10, 5, 8 and 3) show changes still waiting because cron was not running on the demo store.
- Open System, Tools, Index Management.
- Tick the four CoullWorks Blog Search rows.
- In Actions, choose Update on Save or Update by Schedule and press Submit.
CoullWorks Blog Search#
coullworks_blog_post is the one that writes posts into search. It watches the post table and the tables that join a post to its store views, tags, categories and customer groups. When it is on Update on Save and a post is saved or deleted through the blog, that post's document is refreshed straight away.
Category changes#
coullworks_blog_post_category watches the category table and refreshes the documents of the posts in the changed category.
Tag changes#
coullworks_blog_post_tag watches the tag table and refreshes the documents of the posts with the changed tag.
Author changes#
coullworks_blog_post_author watches the author table and refreshes the documents of that author's posts.
Command line#
| Task | Command |
|---|---|
| Rebuild the whole index | bin/magento indexer:reindex coullworks_blog_post |
| Put an indexer on schedule | bin/magento indexer:set-mode schedule coullworks_blog_post and the same for coullworks_blog_post_category, coullworks_blog_post_tag and coullworks_blog_post_author |
| Put an indexer on save | bin/magento indexer:set-mode realtime coullworks_blog_post |
| See the state of every indexer | bin/magento indexer:status |
| Apply queued changes now | bin/magento cron:run (the indexing job is part of Magento's indexer cron group) |
Index Management has no button that rebuilds a single indexer, so rebuild from the command line. After a rebuild, flush the cache so pages built while the index was empty are not kept: bin/magento cache:flush.
When to rebuild by hand#
- After installing or upgrading the module, once.
- After changing the Algolia settings. The module writes Algolia's settings on a full rebuild, not on every save.
- When the header dropdown or the From the blog section is empty on a store that has posts. See Blog search.
The command line commands are also on CLI and cron.







