November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Take a look at my blogpost about that. You find it here:
http://world.episerver.com/Blogs/Henrik-Fransas/Dates/2014/3/Indexing-only-referenced-files-with-EPiServer-Find-75/
Mikael. Good to know!
One thing, it does not take in count if you have pointed out images as dynamic property (see the comment in the blog) but I will fix that.
Please mark my answer as solution also, so others can see that the question is solved
Hi,
I have pages of type DocumentPage in an EPi 7.5 site with EPiFind. To each page there are at least one media file, of type DocumentFile, attached in the page's "Assets folder". The problem is I want EPiFind to index only the page, not the files.
I implemented the code below, restarted the site and ran the EPiFind reindexing job. But the files are still visible in the search result.
EPiServer.EPiFind.ContentIndexer.Instance.Conventions.ForInstancesOf<DocumentPage>().IndexAttachment(x => false);
Is ContentIndexer.Instance.Conventions.ForInstancesOf<DocumentPage>()... a dead end? Should I attack the problem in this way (or another) instead? ContentIndexer.Instance.Conventions.ForInstancesOf<DocumentPage>()...
Anyone knows how this can be done? The EPiFind documentation is not really helpful in this matter.
Thanks,
Mikael