Searching capability

Raki 456 Reputation points


How to make default wild card search in SharePoint online rather typing * at the end?


A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,459 questions
No comments
{count} votes

Accepted answer
  1. Echo Du_MSFT 16,911 Reputation points

    Hello @Raki ,

    Please the following steps:

    1. Go to the results.aspx page, click on Edit page
    2. Select the Search Results web part, and click on Edit Web Part
    3. On the Search Results panel, expand the Search Criteria tab and then click on Change query button
      1. On the Build Your Query page, in the "Query text" textbox enter the following command: {searchTerms}*
      2. Click on OK button and Save this page.

    Echo Du

    ————————Updated Answer————————

    Hi @Raki ,

    In my test, I performed operations in the Search Center Site. This is a Classic SharePoint page.

    This problem occurs because you are searching on Modern SharePoint page. By design, the Modern SharePoint page require the users to manually enter the search wildcard (*).

    However, you can switch to Classic mode to configure default search wildcard (*).

    Please follow steps:

    1.Sign in the site collection as an admin >> Site settings >> click on Search Result Sources under the Site Collection Administration
    2.On the Manage Result Sources page, click on New Result Source link

    3.On the Add Result Source page to create new source as the below figure:

    4.Save it and Set as default

    5.Go back the site collection, access any list or library, then click on the Reture to classic SharePoint link to switch Classic mode

    6.On the Classic SharePoint page, enter keywords in the search box.

    Echo Du


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    No comments

2 additional answers

Sort by: Most helpful
  1. Raki 456 Reputation points


    Thanks for your reply. i am trying to have wild card search functionality in the library search box and this site collection is build on Team site (no Office 365 group). so how can i get the result page to modify query text according to your above post?


  2. Raki 456 Reputation points


    Thanks for your reply. first of all i cannot access the result page, if i access getting below error. if i search from site then it is redirecting me to "" this url with search result. is that result page _layouts/15 folder in sharepoint online and we dont have ability to modify it?