Windows Search is available on Vista, Windows 7, Server 2008 and Server 2012. It replaces the 'Windows Indexing Service' on Windows XP and Server 2003. This topic describes how to configure Windows Search to work with PIAB. NB Windows Indexing Service is no longer an option from Windows Server 2012, so for enhanced seraching you must use Windows Search
By default, the Windows Search service is enabled in Windows 7 and in Windows 8. However, you must manually enable the Windows Search service in Windows Server 2008 R2 and in Windows Server 2012. How to enable the Windows Search service in Windows Server 2012 To enable the Windows Search service in Windows Server 2012, follow these steps:
How to enable the Windows Search service in Windows Server 2008 R2 To enable the Windows Search service in Windows Server 2008 R2, follow these steps:
1. Open the Windows Control Panel and switch to 'Small icon' view.
2. Select 'Indexing Options'.
3. In the 'Indexing Options' form, click 'Modify'.
4. In the 'Indexed Locations' form, select the PIAB 'doc' folder to include in the index e.g. C:\Program Files\PROJECT in a box Professional\doc
5. Click OK and exit the Indexing Options form.
6. Ensure that the PIAB server config file 'piabws.cfg' is set to use 'Windows Search' as follows:
<search> <!-- "indexingservice" or "windowsearch" --> <interfacetype>windowsearch</interfacetype> <!-- Protection for too-general searches --> <protectionthreshold>1000</protectionthreshold> <!-- Optional Override Defaults for Service Provider --> <!-- <windowssearch_serviceprovider></windowssearch_serviceprovider> --> </search>
The 'protectionthreshold' setting is a limiter for the server to prevent users making searches that return a very large set of results and degrade server performance. This setting can be tightened or relaxed to suit your setup.
If your 'doc' store folder is located on a remote sver, then Windows Search has a facility to query remote indexes, but at the time of writing there have been reports of problems implementing this. Currently we do not recommend this configuration, but we provide the following functionality:
In the 'piabws.cfg' file you can optionally specify a remote server and remote share as follows:
<search> <!-- "indexingservice" or "windowsearch" --> <interfacetype>windowsearch</interfacetype> <!-- Windows Search: Options for reading an index on a remote share. --> <windowssearch_remoteserver>myservername</windowssearch_remoteserver> <windowssearch_remoteshare>mysharename</windowssearch_remoteshare> <!-- Optional Override Defaults for Service Providers --> <!-- <windowssearch_serviceprovider></windowssearch_serviceprovider> --> </search>
The OleDb Connection String for Windows Search is:
Provider=Search.CollatorDSO;Extended Properties='Application=Windows';