Monday, August 3, 2009

WSS Search Configuration & Administration

As i have mentioned in WSS Search Scenarios, There are very few administration and configurations settings are avalaible for a administrator in WSS.these settings are-
Configure Search Server
In WSS a single server (search server) performs both indexing and query processes.An administrator can configure a search server through Central admin site-
  • Open SharePoint 3.0 Central Administration site.
  • Go to Operations tab, in "Topology and Services" section , Click on "Services on Server"
  • Click on "Windows SharePoint Services Search" link.
  • Configure Search Database , crawl Schdule & other details.

Attach Search Server to Web App
An administrator can configure any existing web application to use new Search server in following ways-
  • Open SharePoint 3.0 Central Administration site.
  • Go to "Application Management" tab
  • Click on "Content Databases" link
  • Select your web application and click on your web application's content database link.
  • Select new search server, click Ok

Search Administration
WSS provide very few settings for Search Administration, STSAdm command line utility exposes some admin operations for WSS, e.g. to start/stop full crawling following command can be used -
• Stsadm -o spsearch -action fullcrawlstart
• Stsadm -o spsearch -action fullcrawlstop
you can find complete list of STSadm operation from Microsoft site

Search Scopes & Permissions
An site Administrator can configure scopes and permission level search at site level -
  • An administrator can include/exclude any Sharepoint list in Search result-
    • Go to Document Lib/List Setting
    • Advance Setting
    • Don’t allow List in search
    • Then search some content, Contents from this list/library will not included in search result.

  • Content from a list/library will not included in search result if user dont have permission on that list/library -
    • Add a new user
    • Remove permission from an item in a list
    • Then retest the search, those item will not be there in search results.

Enable PDF Search
  • Download and install the Adobe PDF IFilter
  • Edit Registory entries - Click Start, click Run, type regedit,
  • Locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications\GUID\Gather\Search\Extensions\ExtensionList
  • On the Edit menu, point to New, and then click String Value.
  • Type 38, and then press ENTER.
  • Right-click the registry entry that you created, and then click Modify.
  • In the Value data box, type pdf, and then click OK.
  • Stop and then start the Windows SharePoint Services Search service.
    • Net start spsearch
    • Net stop spsearch
  • Note -Confirm following entries - These registry subkeys and the values that they contain are created when you installed the Adobe PDF IFilter on the server -
    • open - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf

      This registry subkey must contain the following registry entry:
      Name: Default
      Type: REG_MULTI_SZ
      Data: {4C904448-74A9-11D0-AF6E-00C04FD8DC02}
    • open - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\Filters\.pdf.

      This registry subkey must contain the following registry entries:
      Name: Default
      Type: REG_SZ
      Data: (value not set)

      Name: Extension
      Type: REG_SZ
      Data: pdf

      Name: FileTypeBucket
      Type: REG_DWORD
      Data: 0x00000001 (1)

      Name: MimeTypes
      Type: REG_SZ
      Data: application/pdf

  • Display .pdf icon -
    • Download PDF Icon from
    • Copy file in Images folder on 12 hives(c:\Program Files\Common FIles\Microsoft Shared\Web Server extensions\12\TEMPLATE\IMAGES).

    • Open DOCICON.xml file (C:\Program Files\Common FIles\Microsoft Shared\Web Server extensions\12\TEMPLATE\XML)
    • Add new key for pdf icon.The new key will be <mapping key="pdf" value="pdficon_small.gif" opencontrol="">
    • Save file and reset iis - IISRESET

No comments: