Searching for files in EPiServer CMS 5

by: Mari Jørgensen


Having trouble finding your uploaded files when searching from the File Manager inside EPiServer? Well, here is a quick guide on how you should set it up.

Type of files
To support search of Office 2007 or pdf files, you need to install the Microsoft Filter Pack and the Adobe PDF IFilter on your server.

Getting your files indexed
To ensure that the files are indexed correctly follow the following steps:

  1. Delete the contents of the index folder inside your VPPs
  2. Open the EPiServer.IndexingService.exe.config (which is located in the C:\Program Files\EPiServer\Shared\Services\Indexing Service directory)
  3. Add your VPPs if they are not already registered
  4. Do an iisreset
  5. Restart the service “EPiServer CMS Indexing Service”

RestartService

You should now be able to find your files - here is a few examples:

Searching by filename

sokFilnavn 

Searching for text (office files)
SokOfficeFiler

Searching for text (pdf files)
pdfSearch

22 November 2009


Comments

  1. Always good to be reminded of how to make it work. Thank you!
  2. Thanks for the recepie Mari! :) Files inside "C:\EPiServer\VPP\SITENAME\Global\index" were never created for my site. Non-existing folders defined in EPiServer.IndexingService.exe.config were the reason.
  3. Just want to make a small adition. If you happen to use 64 bit sytems or windows 2008 machines Adobe Ifilter 5 or 6 willl not help in searching PDFs. Instead you need Ifilter 9, which can be found here: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025
  4. mari, u have seen some material mentioning differences between EPiServer.Web.Hosting.VirtualPathNativeProvider EPiServer.Web.Hosting.VirtualPathVersioningProvider: is this article detailed for 'VirtualPathVersioningProvider'? Regards
  5. does .doc work by default?, i have the indexing working on 2008 server for pdf's, docx, txt etc.. but not .docs? locally on a win 7 box indexing seems incompatible.. in DEBUG mode it seems to fail a lot.
  6. FYI the .doc issue was to save the file as type 97-2003 format again
  7. Does this stuff also work in CMS 6?
  8. Yes, I would think so.
  9. This approach is only valid if you use the VirtualPathVersioningProvider. In CMS 6, Global files is by default set to VirtualPathVersioningProvider. But if you use the native provider, you need to use the MS Indexing Service instead.
  10. unable to view the pdf files that have been displayed using search
  11. Mari, is this the way to do it when using the NativeProvider also, or is it then necessary to use MS index server? If so, what if I am using both VirtualPathVersioningProvider and NativeProvider, would I then configure Episerver index service for the folders in VersioningProvider and MS Index Service for the folders using the NativeProvider?
  12. Sorry for the late response, Andreas. Those are all good questions. Looking at it now, I can't find any updated documentation on how to index Native File system. I will try to find some more information.
Post a comment    
User verification Image for user verification  
EPiTrace logger