Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 591
  • 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
 
skipper68Application Development ManagerCommented:
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
 
skipper68Application Development ManagerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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