Have SharePoint search update comment and like count after increments
SharePoint search currently does not re-crawl content when a like (LikeCount) or comment/reply (CommentCount) is added to a modern page. This means that when many people comment on a page, the search API will not show the updated number -- even after weeks, unless the page is republished or the site is manually re-crawled.
SharePoint search should likely flag the page as dirty for the crawler to re-crawl the updated values so we can leverage these in SharePoint search results.
Mikael Svenson (Microsoft) commented
Thank you for raising this. It is currently a technical limitation as likes/comments are implemented outside of the SharePoint page item itself. Re-indexing the whole item to update the count is not optimal using unnecessary resources, and we are looking into how we can solve this in a better way.