Gravatar for sohelsd@gmail.com

Question by sohel, Oct 22, 2014 6:02 PM

How to exclude large files from Index

How can I tell Coveo not to index large files or index only it's metadata? We have large videos in sitecore that Coveo tries to index and hangs. I see these kind of errors in the sitecore log before sitecore initiates a shutdown message and the whole indexing stops.

Could not resize image as it was larger than the maximum size allowed for memory processing. Media item: {0} [/sitecore/media library/Videos/site/Landing-Page-Videos/8600mp4?sc_database=master].

1 Reply
Gravatar for vseguin@coveo.com

Answer by Vincent Séguin, Oct 22, 2014 6:22 PM

You could do easily an InboundFilter to filter them. Here's the documentation about Inbound filters:

https://developers.coveo.com/display/SC201410/Excluding+Sitecore+Items+From+Your+Index

You could exclude items based on the template.

Ask a question