Blogroll

Showing posts with label Search. Show all posts
Showing posts with label Search. Show all posts

Friday, August 24, 2012

Need to disable word breaker in the SharePoint 2010 search engine

A word breaker is a component that is used to break strings of text into individual words during the indexing and querying processes. During the indexing process, text is extracted from content items as an unbroken string of characters. Word breakers reestablish where each word in the string of characters begins and ends. Additionally, word breakers separate compound words so that users receive a query result on a portion of the original compound word and also on the individual terms that compose the compound word. Word breakers also convert numbers and dates from content items into a standard form.

Each language has a different word breaker. The indexing engine determines which word breaker to use and, if more than one language is detected, can use more than one word breaker for text that comes from a single document. If a word breaker does not exist for a particular language, the neutral word breaker is used.

Problem Description:
Need to disable word breaker in the SharePoint 2010 search engine.

Note: No such OOB feature available in SPS 2010
 
Resolution:

1)   On the SharePoint Server(s) open Registry Editor (Start -> type “Regedit” and hit enter).
2)   Point to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\LanguageResources\Default\Swedish
3)   Rename string WBreakerClass to e.g.: WBreakerClassOLD, WBreakerClassSWE or any other name which will remind you of the original string.
4)   Point to Edit -> New -> String Value and name it; WBreakerClass
5)   Double click this string and paste {9DAA54E8-CD95-4107-8E7F-BA3F24732D95} as Value data and click OK
6)   Close the Registry Editor
7)   Point to Start -> Administrative Tools -> Services
8)   Right click on SharePoint Server Search 14 and click on Restart
9)   Close the Services window

v  Open Central Admin and point to:
§  General Application Settings
§  Farm Search Administration
§  open the Search Service Application
§  click Content Sources from the left navigation menu

10. Click on the content source and hit Start Full Crawl
11. Wait for the Full Crawl to complete and try searching again.

Note:
You can always revert to old search behavior by renaming the string WBreakerClass to WBreakerClassOLD (or just delete it) and rename the original WBreakerClassSWE back to WBreakerClass.
Of course you have to repeat step 6 to 9.

Tuesday, May 15, 2012

Removing/Adding a server to query role:

Removing a server out of query role:
- Stopped Office SharePoint Server Search from App server, it should take Problem server out of query role or Clicked on the service Office SharePoint Server Search from the problem server and remove the check box to take it out of the query role. 
- If Stopping it from CA result in error, Error from event logs. and follow the below steps
- Checked events logs and didn't find anything
- Pausing all active crawls from CA.
- Checked the service Process ID from TASKlist command by executing it from the farm admin account. 
- Kill the service from kill /f mssearch.exe.
- Checked from services.msc that Office SharePoint Sever Search is in disable state and from task manager.
- Deleted everything inside E:\index\'Guid ID for index folder' on the server to clear the space, which is having problem.
- Start the crawls.

Adding a server out of query role: 
-  "STOP Timer Scripts Service
- Once  timer service script is stopped. Proceed to add the server to query role.
- In the Service column, click Office SharePoint Server Search.
- On the Configure Office SharePoint Server Search Service Settings page, in the Query and Indexing section:
- Clear the Use this server for indexing content check box.
-Select the Use this server for serving search queries check box.
- Click Start. Then configuration of the application server as a query server is now completed.
- Confirmed from services.msc that service is in start state.
- Need to wait untill the index propegating gets finished if you have another query server in the farm. Watch SSP for the status.
- Once propagation finishes, restart timer services.
- Resume the stopped crawls.

ShareThis

snow flakes

blogger widgets Blogspot Tutorial

LinkWithin

Related Posts Plugin for WordPress, Blogger...