4_0:kb0000260

KB0000260 Configuring Windows Search

Summary

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

Applies To

  • Windows Vista, Windows 7, Server 2008, Server 2008 R2, Server 2012 R2
  • PIAB 2.8

Prerequisites

  • 'Windows Search' installed.

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:

  1. Start Server Manager.
  2. Click Manage, and then click Add Roles and Features.
  3. On the Before You Begin page, click Next.
  4. On the Installation Type page, select Role-based or Feature-based Installation, and then click Next.
  5. On the Server Selection page, select the server or virtual hard disk on which to install Windows Search Service.
  6. On the Features page, select Windows Search Service, and then click Next
  7. On the Confirmation page, verify that Windows Search Service is listed, and then click Install.

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. Start Server Manager.
  2. Click Roles in the left navigation pane.
  3. Click Add Roles in the Roles Summary pane.
  4. On the Server Roles page, select the File Services role, and then click Next.
  5. On the Role Services page, select the Windows Search Service role service, and then click Next.
  6. On the Confirmation page, verify that Windows Search Service is listed, and then click Install.

Instructions

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.

Using a Remote Server

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>

Windows Search Connection String

The OleDb Connection String for Windows Search is:

Provider=Search.CollatorDSO;Extended Properties='Application=Windows';
4_0/kb0000260.txt · Last modified: 2017/06/22 13:16 (external edit)

Page Tools