Try our conversational search powered by Generative AI!

Searching for media



I am having some trouble figuring out how to search for media with Epi Find. I have a typed search for pages, which is working fine. I have also managed to index blocks and media, and I get page hits when I search for blocks.

What I want, is to be able to search for files that are published in a page or block, and present the files as search hits, on the same level as page hits. 

Is this possible?

I have an item in the find index which is of type GenericMedia (which inherits MediaData), but when I try to search for it, I get no results:

var mediaResult = findClient.Search<GenericMedia>().GetContentResult();
Jan 29, 2020 14:47

Can you try a full re-index?

Does it work in the assets pane in the CMS?

Can you make sure you are not setting conventions to disable MediaData or GenericMedia from being indexed 

Something like: 

  .ShouldIndex(x => false);
Jan 29, 2020 15:20


No, I actually have this:

  ContentIndexer.Instance.Conventions.ForInstancesOf<GenericMedia>().ShouldIndex(x => true);

And the documents are being indexed. I see them in Find -> Overview -> Explore. They are indexed with type "GenercMedia".

I see that they don't show up if I search in assets pane either.

Jan 30, 2020 8:19

It seems to have been a corrupt find index. My developer index expired, and when I created a new one, it started working. The find indexes have been unstable lately.

Feb 05, 2020 8:07
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.