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.
c
customer
client
cheap
Award of the Year ..
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"), "/")) %> </a>
Can I get words that are similar to my search text?
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.
Please, sign in to be able to submit a new answer.