0
I am working or Elastic search 7
I am facing some issue with Match query with elastic search My Issue i want to search all Possible result we match with sequence of words
Like below Example:-
Input is - Pawan Shriman & Anr. Status Projects Pvt. Ltd.
Found reasult are
- Status Projects Private Limited
 - Amp Pipelines Projects Private Limited
 - Pawan Projects Pvt. Ltd
 - Anr Estates & Infracon Projects Private Limited
 - Pawan Putra Projects Private Limited
 - Anr Avenues And Turnkey Projects Private Limited
 - Shriman Nidhi Limited
 - Shriman Garments Private Limited
 
Expect Result should be like
Pawan Shriman & Anr. Status Projects Pvt. Ltd.-> Status Projects Private Limited Becuse sequence of latter same
but in
Pawan Shriman & Anr. Status Projects Pvt. Ltd. In Other There are no Sequance So i will get only First Result not others
Input Query
POST company_name_syno/_search
{
  "query": {
    "bool": {
      "should": [
        {
          "match": {
            "companyName": "Pawan Shriman & Anr. Status Projects Pvt. Ltd."
          }
        }
      ]
    }
  }
}
AND Output is am Getting Now
{
  "took" : 42,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 10000,
      "relation" : "gte"
    },
    "max_score" : 18.583344,
    "hits" : [
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "621472",
        "_score" : 18.583344,
        "_source" : {
          "id" : 621472,
          "cin" : "U45200MP2011PTC025837",
          "companyName" : "Status Projects Private Limited"
        }
      },
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "1583937",
        "_score" : 18.395374,
        "_source" : {
          "id" : 1583937,
          "cin" : "U70109DL2016PTC305994",
          "companyName" : "Amp Pipelines Projects Private Limited"
        }
      },
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "710334",
        "_score" : 17.386831,
        "_source" : {
          "id" : 710334,
          "cin" : "U70109WB1995PTC067037",
          "companyName" : "Pawan Projects Pvt. Ltd."
        }
      },
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "366006",
        "_score" : 17.138266,
        "_source" : {
          "id" : 366006,
          "cin" : "U70100AP2012PTC081254",
          "companyName" : "Anr Estates & Infracon Projects Private Limited"
        }
      },
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "1140986",
        "_score" : 16.372063,
        "_source" : {
          "id" : 1140986,
          "cin" : "U70109DL2008PTC172275",
          "companyName" : "Pawan Putra Projects Private Limited"
        }
      },
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "1435833",
        "_score" : 16.253246,
        "_source" : {
          "id" : 1435833,
          "cin" : "U45200TG2015PTC098051",
          "companyName" : "Anr Avenues And Turnkey Projects Private Limited"
        }
      },
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "1586789",
        "_score" : 15.556036,
        "_source" : {
          "id" : 1586789,
          "cin" : "U65999BR2016PLC031924",
          "companyName" : "Shriman Nidhi Limited"
        }
      },
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "66866",
        "_score" : 14.892519,
        "_source" : {
          "id" : 66866,
          "cin" : "U18101MH1973PTC016742",
          "companyName" : "Shriman Garments Private Limited"
        }
      },
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "64254",
        "_score" : 14.892519,
        "_source" : {
          "id" : 64254,
          "cin" : "U17290PN2013PTC145934",
          "companyName" : "Shriman Texcom Private Limited"
        }
      },
      {
        "_index" : "company_name_syno",
        "_type" : "_doc",
        "_id" : "41488",
        "_score" : 14.892519,
        "_source" : {
          "id" : 41488,
          "cin" : "U15142RJ2003PTC018222",
          "companyName" : "Shriman Protiens Private Limited"
        }
      }
    ]
  }
}