When setting up a Home Directory on IIS6 properties for a web site there’s an option to “Index this resource” which is checked on by default.
Microsoft’s site says:
Grant this
permission to allow Microsoft Indexing
Service to include this folder in a
full-text index of the Web site. When
you grant this permission, users can
perform queries on this resource.
Can someone give me more information on when you would check this option on? What sort of queries would a user perform on this resource? What are the pro’s and con’s of having this set to on/off for a web site?
Windows index service continuously extracts contents from files (for which an appropriate IFilter is installed) under a specified directory and constructs an indexed catalog to facilitate efficient and rapid searching.
When you set “Index this resource” on IIS 6 and Windows Index Service is running, the service adds the actual physical path of the website/virtual directory/directory/sub-directory to the list of directories to be indexed in the Web catalog and the service starts to index the files.
There are various ways to interact programmatically with the Windows Index Service to search the indexed files/contents; such as OLE DB Provider, Query Helper & Others….
Set Option On: When
Set Option Off: When
Windows Index Service continuously indexs contents of sites/directories which have the option turned on and this can result in performance issues.
It’s recommended to turn the option off on site/s which don’t use Microsoft Index Services.
Note: Windows Index Service is disabled by default on Windows Server 2003.