Guides / Managing results / Rules / Detecting intent

Replacing an Entire Query

While not very often, sometimes you might need to replace an entire query. This can be useful when a common way to search for something is inefficient, or when your data uses a different term than is used by your users.

For example, imagine if a number of users type “smart phone apple”. You can replace the entire phrase with “iphone.

1
2
3
4
5
6
7
8
9
10
{
  "condition": {
    "smart phone apple"
  },
  "consequence": {
      "params": {
        "query": "iphone"
      }
  }
}

Note: You can use your Search Analytics to find phrases which are repeatedly not found.

Did you find this page helpful?