XADM: Slow Response When Searching on Custom Attributes (247148)
The information in this article applies to:
- Microsoft Exchange Server 5.5
This article was previously published under Q247148 SYMPTOMS
When you perform a search, either by using the Exchange Server Administrator program or by clicking Find on the Tools menu of the Address Book in Microsoft Outlook, searches against custom attributes may be very slow. These searches may be especially slow in large organizations when you search against the global address list.
CAUSE
This issue can occur because custom attributes are not indexed in the Exchange Server directory by default, which causes a search for custom attributes to run very slowly compared to a search against built-in searchable attributes.
RESOLUTION
To resolve this issue, index the custom attribute that you want to search against by using the Exchange Server Administrator program in raw mode: WARNING: If you use the raw mode of the Exchange Server Administrator program ( admin /r) incorrectly, serious problems may occur that may require you to reinstall Microsoft Windows NT Server, Microsoft Exchange Server, or both. Microsoft cannot guarantee that problems that result from using raw mode incorrectly can be solved. Use raw mode at your own risk. - Start the Microsoft Exchange Server Administrator program in raw mode by typing the following at a command prompt:
- On the View menu, click Raw Directory. This adds the Schema container in the left pane.
- Double-click the Schema object, and then press the F5 key to refresh the display.
- Find the custom attribute in the list, and then open the custom attribute's properties, either by double-clicking the attribute or by clicking the attribute and then clicking Properties on the File menu.
- When a message box is displayed, click Yes to view the raw properties of the object.
- From the Object attributes list, click the Search-Flags attribute.
- In the Edit value box, type a value of either 1 or 2 (as applicable), and then click Set. If you set the value to 1, the attribute is indexed, which makes the attribute more readily available to a query and therefore much faster to query against. If you set the value to 2, the attribute is indexed and made available for use in Ambiguous Name Resolution (ANR). For a detailed explanation of ANR, refer to the "More Information" section of this article.
- Click OK to close the properties.
Modification Type: | Minor | Last Reviewed: | 4/21/2005 |
---|
Keywords: | kbprb KB247148 |
---|
|