Create a Query Profile
-
In the Fusion workspace, navigate to Querying > Query Profiles.
-
Click New.
The Add Query Profile panel appears:
-
Enter a search mode to use with this profile.
-
dsl
(Domain Specific Language) uses expressive search queries and responses via a structured, modern JSON format. -
legacy
primarily uses Solr parameters. See the Solr Query Language cheat sheet. -
all
uses both DSL and legacy search modes. This is the default value.The default value of
all
works well for most use cases.The Search Mode field is available for Fusion 5.4.x and later.
-
-
Enter a Query Profile ID.
-
Select a query pipeline to associate with this profile.
-
Enter a Solr search handler to use with this profile.
The default of
select
works well for most use cases. -
Select a collection to associate with this profile.
-
Optionally, click New params… to enter Solr request parameters to add to the request URL when submitting queries using this profile.
-
Optionally, select Enable experimentation to configure this profile for use with experiments.
-
Select the percentage of experiment traffic to direct to this profile.
-
Select the experiment to associate with this profile, or select Add Experiment to configure a new one.
See Set up an experiment for details.
-
-
Click Save.
The query profile window displays the request URL for sending queries to this profile.
Lucidworks offers free training to help you get started with Fusion. Check out the Index and Query Profiles course, which focuses on how index and query profiles operate, and how to configure and manage them: Visit the LucidAcademy to see the full training catalog. |