How can we get records from elasticsearch with wildcard queries having two keywords?

using this

{
"query": {
"bool": {
"must": [

                   {
          "wildcard": {
          "url.original":{
            "value" : "*version?"
          } 
          }

}
],
"must_not": ,
"should":
}
}

      }

But I have Other 5-10 keywords(admin, dashboard etc etc) , how can i pass other keywords in this ??

You can add multiple wildcard clauses within the should array.

Note that wildcard like this will be terribly slow.

1 Like

Thanks very much , Its working with querystring with OR option.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.