Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 588
  • Last Modified:

SharePoint 2010 Search Question

Hello,

I need to do a search for an exact phrase in parenthesis in SharePoint 2010. I have a word that is commonly used. I am looking for instances of the word only in parenthesis, however, as the other uses aren't relevant.

For example, I need to search for, and find results for: "(september)"

If I type that in the search, SharePoint returns each instance of September, such as September 5th, 2013. I was only looking for the date in parenthesis, as it has a separate meaning.

Is there any way I can do an escape character or set up search using different metadata properties such that I could search for parenthesis? I realize it is a special character, but I have a very specific need to find just the instances with parenthesis.

Note, I am not using FAST search.

Thanks,
Joseph
0
jkeagle13
Asked:
jkeagle13
  • 2
1 Solution
 
skipper68Commented:
Unfortunately, without FAST, using parentheses will only group a query it won't return results that have parentheses.  I've read using double quotes, like you are, should work.

However, you can probably create a Visual Studio web part that does a CAML query that does a more exact search.  That would require programming and deployment of a wsp.
0
 
jkeagle13Author Commented:
Hello,

Hmm, I just tried again and double quotes definitely isn't working. Any ideas that don't involve custom Visual Studio code?

Thanks,
Joseph
0
 
skipper68Commented:
There may be another way. I haven't tried it myself but if you can, maybe search the SQL database/table directly? That will be a lesson in patience since there are oddly named columns and table references. You can also try using the single quote to escape the parentheses like this "'(September')"
 You may also try URL encoding the parentheses by searching for "%28September%29"
It's a shot in the dark but with SharePoint, stranger things have happened. :-)
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now