Query data
Indexing Data Flow shows you how your content, signals, and recommendations are indexed in Managed Fusion. Getting data out of Managed Fusion can mean querying your content or your signals, or accessing other data for analytics.
Querying Managed Fusion means sending a request to Managed Fusion’s Query API endpoints, specifying the query profile and any Solr query parameters. The request is processed by the query pipeline associated with the specified profile, and the response includes any enhancements configured in the query pipeline. You can also enter queries in the Query Workbench to test your query pipeline.
Lucidworks offers free training to help you get started with Fusion. Check out the Anatomy of Querying quick learning, which focuses on the basics of query related objects and workflows in Fusion: Visit the LucidAcademy to see the full training catalog. |
Query your content
When you query your content using the default query pipeline and you have signals enabled, you also get query rewrites and automatic boosting to enhance the relevancy of your search results. In addition to matches from your primary collection, you’ll get results produced by Managed Fusion’s machine learning jobs, based on signals from your users.
Query profiles give you a stable endpoint that can be associated with any query pipeline. Just specify the query profile when sending queries to the Query API endpoint. You can always reconfigure the query profile to point to a different pipeline, or to an experiment.
-
Several stages perform query rewriting and response rewriting by reading from the
_query_rewrite
collection:-
The Text Tagger stage finds misspellings, phrases, underperforming query strings, and synonyms in the incoming query.
-
The Apply Rules stage applies your business rules to the incoming query.
-
-
The Boost with Signals stage reads aggregated signals to boost search results that have been popular with users.
-
The Solr Query stage fetches the final set of relevant search results from the primary collection.
Query for recommendations
To get even more relevant results based on AI-powered analysis of your signals data, your query pipeline can perform any number of secondary queries to the collections where the output from machine learning jobs is indexed. Your secondary queries can provide additional search results based on Managed Fusion’s analysis of your signals.
-
Use the Recommend Items for Item stage to query for collaborative items-for-item recommendations.
-
The Recommend Items for User stage queries for items-for-user recommendations.
-
The Recommend Similar Queries stage provides queries-for-query recommendations.
Search applications
Search applications are the front-end interfaces that you build on top of Managed Fusion. Your application makes calls to Managed Fusion’s REST API in order to retrieve search results or perform other actions. Certain features, like autocomplete and synonyms, require some configuration on the Managed Fusion back end. See Application Development.
Query language
Whenever you are getting data out of Managed Fusion, you may find it handy to consult the Query language cheat sheet.
If you are using Managed Fusion, you can generate and retrieve additional data for analysis or to enhance the end-user experience. For example, Managed Fusion can produce sophisticated recommendations to guide end users to the best available results, including results that do not exactly match the original user-submitted query.
It can also perform machine learning functions that automatically improve search results based on the past activities of users. For more information, see Machine learning .