November Happy Hour will be moved to Thursday December 5th.

Episerver Find optimising-- reduce GenericMedia

Vote:
 

Find index has a lot of objects of type GenericMedia. How can I reduce them?

#176893
Mar 29, 2017 13:09
Vote:
 

Hi,

Add an initialization module and add: ContentIndexer.Instance.Conventions
.ForInstancesOf<GenericMedia>()
.ShouldIndex(x => false);

For more information, check out the indexing documentation. 

#176894
Mar 29, 2017 13:19
Vote:
 

Greate, shall check now. By the way, how can I delete the duplicate results, and sometimes even not used(not linked) from Find index?

#176895
Mar 29, 2017 13:31
Vote:
 

There should not be duplicated results if you've done standard indexing. I suggest your re-run the Find indexing job.  

You could use the ShouldIndex method to modify which content that should be indexed or not.

#176900
Mar 29, 2017 13:48
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.