Thursday, August 29, 2013

Enable Wildcard Search by Default in SharePoint 2010

By default, Wildcard search is not enabled in SharePoint! Say for e.g. If you search for "Script" you will get results for the search query. But if you want to search using partial words ("sc" for "Script") that aren't complete, You will not get the search results until you add the wildcard character * in your queries (sc*)

Here are the screens to explain the above scenario: Search results for the complete word: Script
enabling wildcard search in sharepoint
Search results for the partial word: Sc
wildcard search on sharepoint
Yes, You can always add a wildcard character * in your queries: E.g. sc* to perform wildcard search in SharePoint 2010. But how to make it default without you/end-user entering the wildcard character every time?

Sure, We can enable wildcard search in SharePoint by default! here is how:

How to Enable Wildcard Search in SharePoint 2010
To enable Wildcard search in SharePoint Server 2010, Go to:

  • Central Administration >> Application Management 
  • Manage Service Applications >> Pick your Search service Application
  • Click on "Federated locations" under "Queries and Results" from Left navigation
  • Click on "Location Search Results" linkwildcard search for sharepoint 2010
  • Expand the "Location Information" section 
  • Append a * (asterisk) character to Query Template field - Change it from {searchTerms} to {searchTerms}*sharepoint 2010 wildcard search default
  • Scroll down and update the "More Results" Link Template from: results.aspx?k={searchTerms}To: (results.aspx?k={searchTerms}*) . Click "OK" to save changes. Sharepoint 2010 wildcard search
That's all . We have enabled SharePoint Server 2010 wildcard search! Wait for a moment for the search service to reflect your changes and see the result in action. We've typed "sc" as search string and SharePoint returned results for: sc*
sharepoint server 2010 wildcard search
The above method can be use to apply wildcard people search in SharePoint 2010 too!

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.

Check out these SharePoint products:


  1. You are amazing bro.. thanks a lot for sharing your great knowledge. This steps worked with charm for me :-)..

  2. Thank you so much. You made my day so colorful. Rellay its help me lot to solve my problem. thanks lot once again. Please continue your assitence like this. God bless you. Cheers... :)

  3. Worked like a champ!

  4. This worked for us, but after making this change users started reporting the following error when they tried to click the "view duplicates" option on the search results screen. Any Ideas?

    error: Your query included only common words and / or characters, which were removed. No results are available. Try to add query terms.

  5. Does this change allow you to do wildcard searches within a word? For example, search for ipt and have it return results for script and other words that contain ipt?

  6. Quite a hack and only works for one word search queries.

  7. Hello, how to make tha same trick for Sharepoint 2013?


Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...