The typical integration approach I’ve seen is to use a separate query rewriting service that then either filter the Solr query to the preferred categories / attributes or boosts the results that match on that subquery. If you’re using a machine-learned ranking approach, then you can use the output of the query tagger as input — that’s especially useful if you want to manage tags that vary in confidence.

High-Class Consultant.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store