0

I am using Sitecore 9.0.1 with SXA 1.7 and Solr 6.6.2. I have added one search box and search result component on my page and selected the ShowSearchResults as Prediction and it is showing the predictions based on the title field.

Is it Possible to show suggestion on the search box based on specific field which has data type as Single line text?

I have an "Author" field in my template and I want to show the author field values as a suggestion when typed on the search box.

For this I made some config change by following this blog https://tamermblog.wordpress.com/2018/02/20/setting-up-sxa-search-box-with-suggest/

This is my Solr config file.

enter image description here

Right now I am getting results only based on the title

enter image description here

Please suggest if I'm doing wrong

Thank you

Your Answer

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

Browse other questions tagged or ask your own question.