IT Pro Resources
Bill Baer on...
SharePoint Portal Server 2003 Service Pack 2, by default, will disable some features previously distributed in service pack 1; this article will key in on feaures specific to search and indexing recommendations to improve crawl performance post-service pack 2 and correct features disabled in service pack 2.
Prevent the indexer from enumerating local groups on WSS crawled content.
1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey:
3. On the Edit menu, point to New, and then click DWORD Value.
4. Type IgnoreWSSLocalGroups, and then press ENTER.
5. Right-click IgnoreWSSLocalGroups, and then click Modify.
6. In the Value data box, type 1, and then click OK.
7. On the File menu, click Exit to quit Registry Editor.
Enable single threaded filter extensions.
Add the WSSSingleThreadedFilterExtensions registry entry to the following registry subkey, and then specify the file name extensions that you want:
To do this, follow these steps:
3. On the Edit menu, point to New, and then click String Value.
4. Type WSSSingleThreadedFilterExtensions, and then press ENTER.
5. Right-click WSSSingleThreadedFilterExtensions, and then click Modify.
6. In the Value data box, type the file name extensions that you want. The following are two things to consider when you type file name extensions:
7. Do not use a period character (.) before each file name extension that you type.
8. Separate each file name extension with a semicolon character (;).
For example, if you want to use the single-threaded filter for .jpg files, for .pdf files, and for .gif files, type the following line in the Value data box:
1. Click OK, and then click Exit on the File menu to quit Registry Editor.
2. Restart the Microsoft SharePointPS Search service. To do this, follow these steps:
3. Click Start, click Run, type cmd, and then click OK.
4. Stop the Microsoft SharePointPS Search service. To do this, type net stop sharepointpssearch at the command prompt, and then press ENTER.
5. Start the Microsoft SharePointPS Search service. To do this, type net start sharepointpssearch at the command prompt, and then press ENTER.
Very nice tip! Thanks for the insight and looking forward to future posts!
Why is it necessary to prevent the indexer from enumerating local groups on WSS crawled content and enable single threaded filter extensions? What is the effect if these are not implemented?
What we found was that following the SPS 2003 SP2 upgrade, .pdf, etc. file extensions were providing inconsistent results in search and indexing; to mitigate this we applied the above referenced Registry modification to ensure indexing of common WSS Single Threaded Filter Extensions, this can include .pdf, .gif and variety of other extensions.
The reason, is this prevents the expansion of Local Groups if they exist on sites, etc. LocalGroup expansion extremely costly. We generally don't recommend using Local Groups for permissioning on any resources, but if you do...It's best to add this key to prevent the expansion of these groups while indexing. The only downside to this is that members of that local group will not be included for security trimming, meaning they will NOT get results from those resources unless they have direct access via a single user ACE or domain group.
Nothing prevents normal security from working using LocalGroups, it just ignores them for inclusion for security trimming on search results.