Phrase detection identifies phrases in your signals so that results with matching phrases can be boosted. This helps compensate for queries where phrases are not distinguished with quotation marks. For example, the query
ipad case is rewritten as
“ipad case”~10^2, meaning that if
case appear within 10 characters of each other then boost the result by a factor of two.
Phrases are applied in the Text Tagger stage of the query pipeline.
The Phrase Extraction job automatically creates phrases based on your AI-generated data. When you navigate to Relevance > Query Rewriting > Phrase Detection, you can review or edit the output from the job and manually add new phrases. Your changes remain in the
_query_rewrite_staging collection until you publish them.
|When you manually add new phrases, subsequent job runs use those documents as input for machine learning to improve the job’s output. Unlike job-generated documents, manually-added query rewriting documents are never overwritten by new job output.|
Reviewing auto-generated phrases
Phrases that are automatically generated by the Phrase Extraction job are assigned one of these Status values:
These results have a confidence level as a threshold to automatically deploy them to the
_query_rewritecollection. This threshold can be specified in the configuration parameter Minimum Likelihood Score (default value 0.1).
No action is required on these results, though you can edit them if you wish.
The confidence level is ambiguous, and the result must be reviewed by a user before it can be deployed. It will only be moved from the
_query_rewrite_stagingcollection to the
_query_rewritecollection when its status has changed to "Approved" and it has been published.
See below for instructions.
Navigate to Relevance > Query Rewriting > Phrase Detection.Tip
Notice the Status facet on the left. Click Pending to view only the items that need review.
Click the icon next to the phrase.
In the Status column, select either "Approved" or "Denied".
Optionally, you can also edit the phrase itself.Tip
Although the Confidence field is also editable, changing its value makes no difference.
Click the Close icon next to the updated phrase:
Approving a phrase does not automatically deploy it to the
Adding new phrases
In addition to the phrases generated by the Phrase Extraction job, you can manually add your own.
Navigate to Relevance > Query Rewriting > Phrase Detection.
At the bottom of the rules list, click the icon.
A new phrase appears at the top of the list:
Enter the phrase.Tip
It’s not necessary to set a confidence value.
Select the phrase’s status, depending on whether you want to deploy it the next time you publish your changes ("Approved") or save it for further review ("Pending").
Click the check mark to save the new phrase:
Publishing your changes
In the Phrase Detection screen, click the PUBLISH button.
Fusion prompts you to confirm that you want to publish your changes.
|You can un-publish a query rewrite by changing its status to "pending" or "denied", then clicking PUBLISH.|