November Happy Hour will be moved to Thursday December 5th.

EPiServer search ignore special characters

Vote:
 

Hi

I have a problem with EPiServer search not indexing thousands of pages. 
Problem is that the customer uses their case number as PageName, and that is on the form of yyyy/nr (2009/354).
The indexing ignores the slash (/) and indexes 2009 and 354.

Has someone tryed to modify the regular expression that is used for indexing to accept slashes as part of the string?
Default RegEx is:
[\p{N}\p{L}]{1}[\p{N}\p{L}-\._]*[\p{N}\p{L}]{1}
but I can't make it work with slashes.

Anyone? Please?

#37281
Mar 01, 2010 10:50
Vote:
 

Found a solution my self, that seems to work.

Added a slash between minus and backslash:
[\p{N}\p{L}]{1}[\p{N}\p{L}-/\._]*[\p{N}\p{L}]{1} 

#37282
Edited, Mar 01, 2010 11:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.