Predictive search results - words instead of page titles

Evine Beursken asked on December 8, 2016 17:17

I have a question about the predictive search part of a smart search box. In this I would like to show words that are possible words to search for. Currently it shows the titles of the pages, instead of possible words. For example: Typed in c Then I would like it to show for example customer client and cheap instead of Award of the Year .. where this letter or those letters are not even shown.

I have created a smart search index with the following settings: * index type = pages
* analyzer type = subset * index content with path = /% and page types all.

Furthermmore I have added a smart search box to my page With predictive search settings: any word basic

I did not edit the transformation for the predictive results. So it is still:

<a style="display: block; color: black" href='<%# SearchResultUrl() %>'>
  <%# HTMLHelper.HTMLEncode(DataHelper.GetNotEmpty(Eval("Title"), "/")) %>

Can I get words that are similar to my search text?

Correct Answer

Roman Hutnyk answered on December 8, 2016 20:58

I'm afraid this is not possible out of the box. You might need to implement custom web part and use Smart Search API in order to achieve what you need.

1 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.