Reverse word search in Elastic

Hello,

I want to search words in reverse also in Elasticsearch. for Example - "Tpp Info" and "Info Tpp" should give the same result. while in my db the document present is "Tpp Infotech" in the field title.

My query is:

{
  "from": 0,
  "size": 1000,
  "query": {
    "bool": {
      "must": [
        {
          "multi_match": {
            "query": "info tpp",
            "fields": [
            "Title^6","Title._2gram","Title._index_prefix^12"
            ],
            "type": "bool_prefix",
            "operator": "and"
          }
        }
      ]
    }
  }
}

Hi @Rakhshunda_Noorein_J

Did you try with tokenizer edge-ngram?

GET _analyze
{
  "tokenizer": "standard",
  "filter": [
    {
      "type": "edge_ngram",
      "min_gram": 2,
      "max_gram": 4
    }
  ],
  "text": [
    "Tpp Infotech"
  ]
}