Searching capability

Raki 481 Reputation points
2020-12-29T01:13:47.52+00:00

Hello,

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

Thanks

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,565 questions
0 comments No comments
{count} votes

Accepted answer
  1. Echo Du_MSFT 17,116 Reputation points
    2020-12-29T07:16:55.343+00:00

    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
      51945-1.png
      1. On the Build Your Query page, in the "Query text" textbox enter the following command: {searchTerms}*
        51952-2.png
      2. Click on OK button and Save this page.

    Thanks,
    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
    52357-2.png

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

    4.Save it and Set as default
    52462-4.png

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

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

    Thanks,
    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.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Raki 481 Reputation points
    2020-12-29T15:15:38.897+00:00

    Hello,

    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?

    Thanks


  2. Raki 481 Reputation points
    2020-12-30T15:21:53.533+00:00

    Hello,

    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 "https://contoso.sharepoint.com/sites/test/_layouts/15/search.aspx/siteall?q=notebook" this url with search result. is that result page _layouts/15 folder in sharepoint online and we dont have ability to modify it?

    52159-image.png