-
Open the Registry Editor, by:
- Clicking Start, and clicking Run.
- In the Run dialog box, in the Open box, type Regedit.
- In Registry Editor, select the following registry key for the first instance of SQL Server: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSearch\CLSID (Please replace the MSSQLSERVER with the real instance name if it's named instance)
- On the menu bar, click Edit, click New, and click Key.
- Type {9DAA54E8-CD95-4107-8E7F-BA3F24732D95}.
- Press ENTER.
- In the right pane, right-click the Default registry value, and then click Modify.
-
In the Edit String dialog box, in the Value data box, type NaturalLanguage6.dll, and then click OK.
- In Registry Editor, select the following registry key for the first instance of SQL Server:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSearch\Language\enu
-
Replace the 'WbreakerClass' and 'StemmerClass'with new value as below
WBreakerClass:{9DAA54E8-CD95-4107-8E7F-BA3F24732D95}
StemmerClass :{61A48126-EF74-4d4a-9DDA-43FD542CAD1E}
-
Copy files:
from "C:\Windows\System32"
to "C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Binn"
NlsData0009.dll
NlsLexicons0009.dll
Now , we are going to create our own customized word breaker
- Log on to sql server box under window administrator account
- Open a notepad
-
Put below words following the rule list in article http://technet.microsoft.com/en-us/library/cc263242.aspx#Rules
red/bl
-st/fl
red/
24-
- On the File menu, click Save As.
- In the Save as type list, select All Files.
- In the Encoding list, select Unicode.
- In the File name box, type the file name in the following format: Custom0009.lex, (Please do not change the file name)
- put the file to the sql server instance binn folder , for example : C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Binn.
- Restart fdhost by executing "exec sp_fulltext_service 'restart_all_fdhosts'" on the sql server instance.
- Now the customized word breaker works, here is a screenshot of test:
Please note, before we configure the word break , the result is as below
select *From sys.dm_fts_parser('red/bl',1033,0,0)
customized English word breaker for sql server 2008
相關文章
- SQL Server 2008中Analysis Services的新特性——深入SQL Server 2008SQLServer
- SQL SERVER 2008安全配置SQLServer
- SQL Server2008程式堵塞處理方法SQLServer
- Sql Server2008R2下載地址SQLServer
- SQL Server 2008連線字串寫法大全SQLServer字串
- Analysis Services基礎知識——深入SQL Server 2008SQLServer
- SQL Server 2008中的行壓縮(上)JUSQLServer
- win10怎麼安裝sql server2008 r2_win10如何安裝sql server2008 r2Win10SQLServer
- SQL Server 2008事件處理系統簡介LSSQLServer事件
- 理解SQL Server 2008索引的儲存結構YDSQLServer索引
- SQL Server 2008的故障轉移叢集概述UBSQLServer
- SQL Server 2008 R2雙機熱備方案SQLServer
- SQL Server 2008檔案流功能應用設想YCSQLServer
- SQL Server2008 R2 資料庫映象配置方案SQLServer資料庫
- Q&A:SQL Server 2008的升級與部署知識SOSQLServer
- 1.4 SQL Server2008安裝與配置(2020-12-1)SQLServer
- 練習英文寫作 Learn to write the english word
- SQL Server 2008 R2並行資料倉儲簡介SZSQLServer並行
- 在SQL Server 2008中的SP上使用表型別值引數MHSQLServer型別
- 雲伺服器SQL Server 2008 允許遠端連線的配置伺服器SQLServer
- 關於SQL server2008除錯儲存過程的完整步驟SQLServer除錯儲存過程
- 注意:微軟將在2019年7月停止對SQL Server 2008的支援!微軟SQLServer
- SQL Server 2000/2005/2008刪除或壓縮資料庫日誌的方法SQLServer資料庫
- SQL Server 2008資料複製新特性及其帶來的價值(下)XDSQLServer
- Transmit Value by Customized Annotation in AOP InterceptionMITZed
- sql serverSQLServer
- Windows 10 下安裝Sql Server 2008 R2 連線到伺服器失敗WindowsSQLServer伺服器
- Windows Server 2008 R2 下載地址WindowsServer
- 區分SQL Server 2008 R2資料中心和並行資料倉儲版本WBSQLServer並行
- Moebius for SQL ServerSQLServer
- sql server 使用SQLServer
- SQL Server教程SQLServer
- Steeltoe之Circuit Breaker篇UI
- Windows Server 2008 RC候選版要釋出了WindowsServer
- windows server2008安裝mysql資料庫WindowsServerMySql資料庫
- win server 2008 重啟之“0x80041003”Server
- SQL SERVER優化SQLServer優化
- Nodejs 操作 Sql ServerNodeJSSQLServer
- SQL Server 別名(as)SQLServer