Article ID: 923317 - Last Review: September 22, 2006 - Revision: 2.1 You obtain incorrect results when you run a full-text search query that uses a thesaurus file in SQL Server 2005SYMPTOMSConsider the following scenario:
Additionally, if you use a hyphen in the thesaurus file, you will find that an error message is logged in the event log. For example, the thesaurus file contains the follow tag:
Note The special characters that are listed here are only examples. Other special characters may also cause the problem. WORKAROUNDTo work around this problem, avoid using special characters in thesaurus file terms. STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATIONWhen the word breaker encounters a word-breaking character in a term, the word breaker parses the character as a white space character. For example, if the word breaker encounters the term "look&out," the word breaker parses the term as the two words "look" and "out." Note Word-breaking characters include the following:
When the word breaker encounters a hyphen (-) in a term, the word breaker correctly parses the term. However, the full-text thesaurus component treats the characters that are connected by the hyphen together with the hyphen itself as empty characters. For example, if the original term is "well-known celebrity," the term appears as "celebrity" in the thesaurus file. The problem that is described in the "Symptoms" section may also cause a duplicate entry or an empty entry for a term in the thesaurus file. The full-text thesaurus component cannot load a thesaurus file if the file contains a duplicate entry or an empty entry. Note In SQL Server 2005, if the full-text thesaurus component finds an error in the thesaurus file, the full-text thesaurus component does not load the thesaurus file. For example, you define the following terms in the thesaurus file: | Article Translations
|
Back to the top
