How we use wild card to search in elasticsearch. I try with following queries
"query": { "wildcard": { "item_name": { "value": "*Iko*", "boost": 1.0, "rewrite": "constant_score" } }
and like this
"match": {
"item_name": "*Ik"
}
and like this
"regexp": {
"item_name": "^Iko"
}
data have value
{
"_index" : "product_detail_info",
"_type" : "doc",
"_id" : "1733951907733120138583162807",
"_score" : 6.0950193,
"_source" : {
"image_product_name" : "5dd90d61e82a7.jpg",
"item_sku" : "SS190773",
"item_id" : 190773,
"cat_name" : "T-Shirts",
"product_id" : 31201,
"item_name" : "Ikonik Karl Pocket T-Shirt"
}
and I want to apply same search on more then one fields
thanks