Windows Search is available on Vista, Windows 7 and Server 2008. It replaces the 'Windows Indexing Service' on Windows XP and Server 2003. This topic describes how to configure Windows Search to work with PIAB.
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: