FindInitialization.cs |
|
---|---|
|
|
Create list of file types that we want to index. By making it static we avoid re-creating the list each time a file is indexed. |
|
By default uploaded files are not indexed. Change that to index all files in all VPP folders that are visible to editors in the file manager. |
|
As we have no need to index images and such we configure the FileIndexer to only index Word and PDF files. |
|
Customize the default projection of pages when using Unified Search to include an image. |
|
Customize the default projection of files when using Unified Search to include an image. As there is no image associated with individual files we retrieve the file extension from the index and project in known URLs for icons. |
|
Utility method used when projecting images for pages. While it would be possible to include this in the projection expression it would have looked nasty. |
|
Utility method used when projecting images/icons for files. While it would be possible to include this in the projection expression it would have looked nasty. |
|