Forum Discussion
SharePoint Search & update of LikeCount
We too are seeing the exact same bug on both LikeCount and CommentCount. They remain out of date until the page is edited. The downside here is that the alternative doesn't work out well for us as we are trying to avoid having many requests/batching just to load this data for a bunch of results that come back from a search. I think your theory is correct, hopefully Microsoft can resolve this soon.
- Markus IhloffSep 11, 2019Copper Contributor
I'm not sure there will ever be a solution to this problem. I don't know how the crawler identifies which content needs an incremental crawl but I'm afraid that this would be a major change to the crawl-engine.
One way to work around this would be to trigger a Reindex for the Pages-Library on a regular base. But I'm not sure if you run into any throttling by Microsoft if you continously full-crawl several Libraries in SPO.
In our case we didn't find a solution to get it work, we'll remove the like count from the display template.
- Mike MorawskiSep 11, 2019Copper Contributor
Markus Ihloff I would imagine there is a service called as part of the publishing process to flag the page as needing a re-crawl. There is a chance that the social service could just call the same code.
Added a user-voice https://sharepoint.uservoice.com/forums/330321-sharepoint-search/suggestions/38576434-have-sharepoint-search-update-comment-and-like-cou maybe this will help get some traction. Others might very well be having the same issue.