fertmv.blogg.se

Solr suggester configuration
Solr suggester configuration







solr suggester configuration

SOLR SUGGESTER CONFIGURATION HOW TO

There are multiple posts, Tamer’s post for example, that already talk about how to add a suggester. So, if you sent “artif” to the suggester, it might return results like “Artificial”, “Artificial Intelligence”, etc… It’s pretty cool that solr has this feature already and that you don’t have to build it yourself. You are welcome to dive deeper into the full documentation around the Suggester search component in Solr, but in short, the suggester is a “search component” that you can add to your solr configuration that will return suggestions for search terms, based on a configured field, for the term sent to the api. How exactly to add and configure a search suggester component in Solr for use in the SXA Search Box component. Well, that’s what we’re going to cover in this post. Huh? What is a “suggester”? Is this something that’s already configured? It doesn’t sound like it… How do you configure a “suggester”? The second link even highlights that, in order to use Show predictions, you must use “…a suggester called sxaSuggester.” Walkthrough: Adding search functionality to your pageĮach of these pages even talk about the Suggestions mode (which is set to Show search results by default) and the differences between the 3 options.There is already some good documentation on these components on the Sitecore Docs site:

solr suggester configuration

More specifically, the Suggestions Mode of the Search Box component. One of the features I’d like to dive deeper into is the Search Box component. All that’s really left is styling all the components with some CSS. SXA’s search components are pretty amazing, right out of the box! You can build up a functional search page, with results, paging, filters, etc… in a matter of minutes.









Solr suggester configuration