K13 Media File Usage

Suan Choi asked on June 24, 2025 09:04

Hello,

I'm trying to understand how Kentico builds or rebuilds the Media File Usage search index. I’ve come across a case where a media file appears to be used on 20+ pages in the usage tab, even though it's only placed on one actual page.

I’ve checked the version history and searched the NodeXML of those pages but couldn’t find any references to the file. Does anyone know how the index works, or what might cause this kind of results?

Recent Answers


Juraj Ondrus answered on June 24, 2025 12:27

It is a standard search index, you can rebuild it manually as any other index and it is being updated based on the Processing of indexing tasks configuration.

0 votesVote for this answer Mark as a Correct answer

Suan Choi answered on June 25, 2025 08:43

It's a SYSTEM_SEARCH_INDEX type, and I’m unable to edit. I’m trying to understand how it’s built rather than trigger a rebuild. The issue I’m trying to troubleshoot is that the Media File Usage tab is showing a lot of irrelevant pages, including the ones where the file definitely isn’t used. I'm hoping to get some clarity on this.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on June 25, 2025 09:18

Have you tried rebuilding the index? Are other indexes being updated fine? OR just this one is having outdated information? Is the media files usage indexing enabled in Settings?

0 votesVote for this answer Mark as a Correct answer

Suan Choi answered on June 25, 2025 09:43

Yes, the media file usage tracking is enabled, and the other indexes are working as expected. I've just rebuilt the Media File Usage index and it still shows the same results. The file has only ever been added to one page, but the usage tab is showing 20+ pages. Could this be caused by the page being saved as a template and reused across multiple pages?

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on June 25, 2025 09:54

Well, yes, it could be it - depending where did you added/linked the media file exactly.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.