0

I am using SharePoint 2013 and have created my custom search result page. On this search result page I have changed the search query. It looks now like this:

enter image description here

When I search on a whole word like "shoes", "soccer", "house" it give me results. But when I enter only 2 or 3 letters it dont give me results back. I try for example "sho", "soc", "ous". Is it possible to configure my SharePoint search that it is possible to get also results with small search keywords?

1

It's because there is no "full-word" hits on the fragments of words you are searching on. Try applying the wildcard (*) after the search query.

sho*

You should now get results. So in your example above, add an asterix after

{SearchBoxQuery}
  • Thanks, this works. I have added also an asterix before. This is my query now: Path:{SiteCollection.URL} ContentTypeId:0x0100BA09E7695455FC4B8D3716A128EF73B3* Artikelen:*{SearchBoxQuery}* – Ola May 15 '14 at 8:24
  • Hmm the asterix before shouldn't really do anything :) SharePoint doesn't support suffix-matching: sharepoint.stackexchange.com/questions/89055/… – Robert Lindgren May 15 '14 at 8:25
  • And what about letters in the middle of a word? – Ola May 15 '14 at 9:08
  • Same there, it is prefix-matching only (like hell*, not ello, not helo) – Robert Lindgren May 15 '14 at 9:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.