Wilcard Search in SharePoint 2013

The problem is the user expects to be able to search for part of the file name without having to put asterisk (*) at the end of the string.

For example, if Bob remembers part of the file name, he would search for "leda_status" and SharePoint would return no result.
However, searching for " leda_status* " would provide the result that he is looking for.

But would it be possible to allow users to search for strings without typing in asterisk (*) ??

Ideally, it would be best to automatically insert asterisk both before and after the user input string.

For example, user type in "dragon" in the search box.
As soon as the user hit enter, SharePoint takes the string "dragon" and add asterisk (*) before and after the string so that it would be searching for " *dragon* ".
That would provide the ease of use that users are looking for.

Thanks!

Regards,

Manish

July 28th, 2015 9:17am

Hi Manish,

You can edit the Search Results Web Part. Then from the web part properties, click on Change Query.

Now in the popup modal window, click on "Advanced Mode".

In Query text, you can use {SearchBoxQuery}*


Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 12:55pm

Hi Mohit, 

{SearchBoxQuery}* does not append "*" before each search query. Also, the search results url have something like results.aspx?k="share" showing all results beginning with share.

Regards,

Manish

July 28th, 2015 1:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics