Microsoft KB Archive/258231

= Search: English Language Meta Tag Does Not Get Crawled Correctly =

Article ID: 258231

Article Last Modified on 3/29/2000

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q258231



SYMPTOMS
When you specify languages through the language meta tag, English-language documents are not crawled correctly. When you perform a search against documents that are language tagged, English-language documents do not appear, even though all other languages work as expected.



CAUSE
The HTML filter maps content-language strings into locale identifiers (LCIDs). Previous to Site Server 3.0 service Pack 3 (SP3), both EN and EN-US were mapped to 0x409, which was incorrect.

In Site Server 3.0 SP3, the mappings have been corrected. EN now maps to 0x9 and EN-US maps to 0x409. EN-GB has always correctly mapped to 0x809.



RESOLUTION
To resolve this issue, modify your query scripts so that they search for 0x9 (EN), 0x409 (EN-US), and 0x809 (EN-GB) when searching for EN. The following example demonstrate the change that is needed to the Search.asp page in the Search language detection sample:

Original line:

Q.Query = Q.Query & " & @DetectedLanguage ^a " & LocaleID New line: Q.Query = Q.Query & " & (@DetectedLanguage = ^s 9 OR @DetectedLanguage = ^s 409 OR @DetectedLanguage = ^s 2057 )"

Additional query words: search gatherer gather crawl metatag tag filter htmlfilter

Keywords: kbprb KB258231

-

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

© Microsoft Corporation. All rights reserved.