Microsoft KB Archive/288445

= Search Returns Invalid Abstract =

Article ID: 288445

Article Last Modified on 3/28/2001

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q288445



SYMPTOMS
When you view search results, HTML code or comments may be in the document abstract instead of the expected summary text.



CAUSE
Site Server Search usually builds the abstract (or characterization) for an HTML page from the first 300 characters of the document body or from a meta description tag. Improper placement of comments can cause the Gatherer service to return HTML code in the abstract.



RESOLUTION
If you are not using a meta description tag, make sure that comments are correctly placed in your HTML document, especially comments in tags. For example: This is the first text in the document.

This code above causes the abstract to show the following:

&quot;/vdir/image.gif&quot; width=&quot;582&quot; height=&quot;20&quot; border=&quot;0&quot;>

By removing the quotes placed around the include file path, Site Server Search displays the first 300 characters of the document, and not HTML code that is being incorrectly interpreted as words. The reformatted code would look similar to the following:



The abstract displays:

This is the first text in the document.



MORE INFORMATION
Site Server uses the Microsoft Site Server/Data/Search/Config/Gathrprm.txt file to determine how many characters are used for the abstract when indexing documents. The default setting is 300 and can be modified by changing the value of the following line in the Gatherprm.txt file:



Keywords: kbprb KB288445

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.