Sunday, March 17, 2013

SharePoint Search doesn't Work Well with Pattern "Hello-A1007.19".
 
 
We have an issue with searching for file name in pattern such as "Hello-A1007.19" or files containing text in this pattern.
 
After a few tests, the conclusion is that SharePoint index engine doesn't break the word correclty. The search result actually gives clues on how index engine breaks the word.
 
dfasdfas fsafsadfaf sdfsafasf
 
The high-lighted part is how search engine breaks and search the word. It breaks the file name into
 
"Hello" and "1007.19"
So any search including "a1007", "1007" won't return any result for this file or file containing this text.
 
For example:
 
"Hello-A1007": The first part of the file name without version number 19
"Hello A1007": "-" is excluded sign. Avoid to use it.
"Hello A1007.19": include the version number.
"A1007"
"A1007.19"
"1007"
"Hello 1007 19"
None above query will return results.
Any query works must NOT contain "A1007" or just "1007" and must contains "1007.19" So the query must be
 
 
Hello
Hello 1007.19
1007.19
Hello-A1007.19 happens to work is that "-A" is a excluded sign and a character. "Hello-A1007.19" actaully means "Hello 1007.19"
I think the correct way to break the phrase in index engine should be
Hello a1007 19

No comments:

Post a Comment