vortidp.blogg.se

Solr suggester configuration
Solr suggester configuration







solr suggester configuration

solr suggester configuration

The only facet values displayed will be those values that are consistent with the current search results. As the search results change, consider what is happening to your facets. Additionally, you may add any number of filter queries fq to further constrain the search results. Heres how: Facet Based SuggestionsĪs your user searches through your inventory, the Solr query q parameter will constantly be changing. – Why not use a solution that is based upon the normal, out-of-the-box Solr setup. (Please someone tell me if Im wrong!) In any case, getting the suggester working takes a bit of configuration. Rather, it is based upon a dictionary lookup that is agnostic of what the user is currently searching for. However I havent found a way to configure the suggester so that it suggests only completions that that correspond to search results.

#Solr suggester configuration full

If you make a suggestion of a word just because it is somewhere in your index, but it is inconsistent with the other terms that the user has typed, then the user is going to get a results page full of white space and youre going to get another dissatisfied customer!Ī lot of search teams jump at the Solr suggester component because, after all, this is what it was built for. When you make these suggestions, it is critical to make sure that your suggestion leads to search results. Part of this is by making term suggestions as they type. And it is your goal to be as helpful as possible. Heres the use case: A user comes to your search-driven website to find something. In this post Ill cover a closely related functionality called Suggest-As-You-Type. In my previous post, I talked about implementing Search-As-You-Type using Solr.









Solr suggester configuration