Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 287231 - Last Review: February 26, 2007 - Revision: 3.3
Search indexes only 16 megabytes of a document in SharePoint Portal Server 2001
This article was previously published under Q287231
Important This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base:
256986Â
(http://kbalertz.com/Feedback.aspx?kbNumber=256986/
)
Description of the Microsoft Windows Registry
You cannot locate text at the end of the document when you
perform searches against the index, even though the gatherer reports that it
successfully indexed a large document. If you enable successful logging for the
workspace, the following error message is logged for the document's URL in the
detailed update log that is accessible from the Content Sources folder:
Type: Document Added
Message: Document was only
partially indexed because the document is too large, or the filtered size
exceeded MaxGrowFactor limit. Although the document was successfully indexed,
the document was truncated and, therefore, some words or terms used in the
document may not be indexed.
This problem may occur when, for performance reasons, the
gatherer only indexes text in a single document up to a certain size limit. Any
text that remains is not indexed and the error message in the "Symptoms"
section is logged.
Two registry values control this limit:
- MaxDownloadSize: This value specifies the maximum size of the document text that
is filtered.
- MaxGrowFactor: This value specifies how large (as a factor of MaxDownloadSize) the output of the Index Filter on the document can
be.
By default,
MaxDownloadSize is 16 megabytes (MB), and
MaxGrowFactor is 4 MB. By using these settings, the following document limits
are effective:
- The maximum size when you index documents on file shares or
in the workspace is 64 MB.
- The maximum size when you index documents on Web sites is
16 MB.
Warning If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system. Microsoft
cannot guarantee that you can solve problems that result from using Registry
Editor incorrectly. Use Registry Editor at your own risk.
To
work around this problem, adjust
MaxDownloadSize in the registry in Microsoft SharePoint Portal Server to enable
indexing of larger documents. To do so, follow these steps:
- Start Registry Editor.
- Locate the MaxDownloadSize value under the following key in the registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\Search\1.0\Gathering Manager
- On the Edit menu, click DWORD, click Decimal, type the number of MB, and then click
OK.
- Quit Registry Editor.
If you continue to receive the error message that documents
are partially indexed after you adjust the number of MB in
MaxDownloadSize to a sufficiently large value, you may also need to adjust
MaxGrowFactor to a higher value. For example, to increase this value to a
factor of
8:
- Start Registry Editor.
- Locate the MaxGrowFactor value under the following key in the registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\Search\1.0\Gathering Manager
- On the Edit menu, click DWORD, click Decimal, type 8, and then click OK.
- Quit Registry Editor.
Note This article can also apply to Microsoft Office SharePoint Portal
Server 2003. The only difference is the location of the registry entry. The
following is the registry entry for SharePoint Portal Server 2003:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SPSSearch\Gathering Manager
APPLIES TO
- Microsoft SharePoint Portal Server 2001
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate