ipad case
is rewritten as “ipad case”~10^2
, meaning if ipad
and case
appear within 10 terms (whitespace-delimited tokens) of each other, then boost the result by a factor of 2.
Phrases are applied in the Text Tagger stage of the query pipeline.
Use query rewrites in the Rules Editor
q
parameter. For DSL requests this means a JSON string representing the main DSL query. .csv
file that contains your rules.Use phrase detection
_query_rewrite
collection. This threshold can be specified in the configuration parameter Minimum Likelihood Score (default value 0.1).
No action is required on these results, but you can edit them if you wish.
_query_rewrite_staging
collection to the _query_rewrite
collection when its status has changed to “Approved” and it has been published.
_query_rewrite
collection. When you have finished your review, you must click Publish to deploy your changes.