Article ID: 2252955 - Last Review: July 7, 2010 - Revision: 2.0 Considerations when using the SQL Server Full-Text search engine for the Japanese language
INTRODUCTIONThis article describes the considerations that apply when you use the SQL Server Full-Text Search engine for the Japanese language. MORE INFORMATIONIn the Japanese language, a phrase may consist of two or more words without spaces between those words. In Microsoft SQL Server, when you use the SQL Server Full-Text search engine to perform a prefix search for a Japanese phrase, the Full-Text search engine does not consider the phrase to be a prefix term. Instead, the Full-Text search engine considers the phrase to be word terms. This is because a word is defined as a string of characters without spaces or punctuation. Additionally, the search engine works only in the prefix-matching mode. The search engine does not work in the suffix-matching mode. For example, you create a table and insert some Japanese phrases by running the following statements in SQL Server: Then, you run the following three queries: Query 1 F From the results of the queries, you can find that the result of Query 2 is the same as the result of Query 3 because the Full-Text query does not work in the suffix-matching mode. Additionally, “テスト” is a token that differs from “ポリシーテスト” or from “White Listテスト” in the matchings. To tokenize phrases, a word breaker for the language family must be used. Work breakers use spaces and other signs to recognize phases. Therefore, some phases cannot be recognized by the word breaker and cannot be searched by using Full-Text engine in the Japanese language. For more information about word breakers, see the “Word Breakers and Stemmers” topic in the “Reference” section. The best practice to use the Full-Text search engine in the Japanese language is to test the phases to see whether the phrases are affected by the limitation. If a phase consists of words without spaces, you cannot use the Full-Text functionality to search the phrase. Instead, you can use the LIKE keyword together with wildcard characters. However, the performance of the LIKE operation is lower than the performance of the Full-Text searching. You must consider the performance effect for your application. The following are some sample queries of the LIKE keyword to search for phrases. Query 4 Note If you use the Full-Text search engine in SQL Server 2008 or later versions, you can find more information about the content of a full-text index by using the following query: REFERENCESFor more information about the SQL Server Full-Text search engine, visit the following Microsoft websites:
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top