转:How to force a wordbreaker to be used in Sharepoint Search
2010-12-29 21:40
597 查看
How to force a wordbreaker to be used in Sharepoint Search
I had a requirement to crawl Japanese content and we had an English Install of Sharepoint 2007 (MOSS). Now for some reason the locale was not being identified by the crawler for the HTML (i.e. all the Publishing pages) as 1041 (i.e. the Japanese locale), and the default English (US) word breaker was used. I wanted to force the Japanese wordbreaker and finally found that I need to make a registry change (*** PLEASE NOTE REGISTRY CHANGE IS NOT A GOOD IDEA, BEFORE DOING ANY REGISTRY CHANGE PLEASE TAKE A BACKUP OF YOUR REGISTRY***).
To force the crawler to use the JAPANESE WORD BREAKER, I changed the following registry key to use the Japanese WBreakerClass (This change is required on your Index Server):
*********************************************************************************************************************************************************************
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\LanguageResources\Default\English (United States)]
"WBreakerClass"="{E1E8F15E-8BEC-45df-83BF-50FF84D0CAB5}"
*********************************************************************************************************************************************************************
Now the crawler uses Japanese WBreakerClass instead of English WBreakerClass and all my content is crawled properly as well as the Search results are working great with proper hithighlighting (which was not working earlier).
Please note that by only forcing Japanese wordbreaker even for English content has a side effect such as breaking definition extraction.
I had a requirement to crawl Japanese content and we had an English Install of Sharepoint 2007 (MOSS). Now for some reason the locale was not being identified by the crawler for the HTML (i.e. all the Publishing pages) as 1041 (i.e. the Japanese locale), and the default English (US) word breaker was used. I wanted to force the Japanese wordbreaker and finally found that I need to make a registry change (*** PLEASE NOTE REGISTRY CHANGE IS NOT A GOOD IDEA, BEFORE DOING ANY REGISTRY CHANGE PLEASE TAKE A BACKUP OF YOUR REGISTRY***).
To force the crawler to use the JAPANESE WORD BREAKER, I changed the following registry key to use the Japanese WBreakerClass (This change is required on your Index Server):
*********************************************************************************************************************************************************************
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\LanguageResources\Default\English (United States)]
"WBreakerClass"="{E1E8F15E-8BEC-45df-83BF-50FF84D0CAB5}"
*********************************************************************************************************************************************************************
Now the crawler uses Japanese WBreakerClass instead of English WBreakerClass and all my content is crawled properly as well as the Search results are working great with proper hithighlighting (which was not working earlier).
Please note that by only forcing Japanese wordbreaker even for English content has a side effect such as breaking definition extraction.
相关文章推荐
- How to custom search results in SharePoint Server 2013
- [转]How to Create a Thumbnail Picture Library View in SharePoint 2007
- How to delete a large number of data in SharePoint for List when refreshing data?
- how to find sharepoint app pool in win server2008?
- How to configure SharePoint 2010 Search to crawl share file servers?
- How to enable “Edit Page” in SharePoint’s standard form.aspx
- How to use document library in Sharepoint 2010
- How to Export & Import Web Parts in SharePoint(转)
- How to Setup Load Balance in SharePoint 2010 Farm
- [Solution]How to create Project Web App in SharePoint
- How to remove the ribbon tabs in list forms in SharePoint 2010
- How to redirect to a Custom Page for Event Receiver in SharePoint 2010
- Session state cannot be used in ASP.NET with Windows SharePoint Services
- How to create your own custom 404 error page and handle redirect in SharePoint 2007 (MOSS)?
- How to hide my site and my document link in the right-top corner of sharepoint 2010
- [转]如何删除放置库(How to Delete the Drop Off Library)in SharePoint 2010
- How to Create Multilingual Webpart in SharePoint 2010? Use Localization in Globalization.
- how to install and configure Remote BLOB Storage (RBS) in a SharePoint 2013 farm
- sharepoint admin svc must be running in order to create deployment timer job 若要创建计时器作业,必须运行SVC
- How to open MS word document from the SharePoint 2010 using Microsoft.Office.Interop.dll