include/exclude file types RRS feed

  • Question

  • How does one exclude all file types from being crawled/indexed and only include file types of interest.

    I see the default is to attempt to crawl/index everything and the apply specific exclusions using the File Type form.

    I would like to do the opposite, exclude everything except for those file type I specify.

    Is this possible and how would I go about it.



    Saturday, January 28, 2017 5:04 PM

All replies

  • From the sharepoint server

    $sa = Get-SPServiceApplication "24021230-4d66-4cc3-a2b9-f1928fe7f351"

    $sa.SetIsExtensionIncludeList($sa.GetVersion(), $true)


    Specify list of files by extension that are desired in the crawl.

    Remove all exsiting crawls and indexes that may exists and recrawl everything from scratch.

    Friday, October 6, 2017 2:00 PM