Gravatar for loebrandy@gmail.com

Question by rloeb, Aug 26, 2016 11:35 PM

Sitecore MediaItem with .zip Internal Media Indexing

We have some MediaItems where the media is a .zip, containing say a .pdf or .doc.

The crawler seems to be indexing the MediaItems where the media is a .pdf or .doc, but not the .zip ones.

Is there a setting somewhere? I tried playing with some obvious document type setting for zip but nothing seems to accomplish it.

Also we use the quick view feature…would be nice if it could work to display the internal file(s) as well.

Thanks.

1 Reply
Gravatar for lbergeron@coveo.com

Answer by Luc Bergeron, Aug 29, 2016 11:16 AM

Hi,

Following these steps should do the trick. I tested with Coveo for Sitecore 4.0 and it is fine.

  1. Click the Sitecore Search Provider Document Types Set link in the Coveo Admin Tool > Configuration > Document Types.
  2. Click the Zip Archives link at the very bottom of the list.
  3. Set the Action drop-down list value to Index entire document.
  4. Click the Apply Changes link at the bottom of the page.
  5. Restart the Coveo Enterprise Search 7 service.

The next time you rebuild the Sitecore index, the content of the zip files will be indexed.

Let me know how it goes.

Gravatar for loebrandy@gmail.com

Comment by rloeb, Aug 29, 2016 1:05 PM

Thanks, had tried that but without step 5 service restart it didn't work. With service restart and rebuild it worked. Thanks again.

Ask a question