My document looks like this
{
"_index": "edm_demo",
"_type": "financial_products",
"_id": "AVbujNiLuNZXbYrTuzVl",
"_score": 1.8980293,
"_source": {
"PROD_ID": 300440,
"CUSIP": "982967-58-7",
"SYMBOL": "MCRFX",
"NAME": "All-Cap Energy & Resources Fund",
"INDUSTRY": "Legal Services",
"SHARES": 1948.45,
"DIVYIELD": 0.56032,
"HIGH": 4428.29,
"LOW": 3985.46,
"VOLUME": 3764.05,
"CHANGE": 0.623993
}
}
I tried many highlight queries even without all some like
GET edm_demo/financial_products/_search
{
"query": {
"query_string": {
"query":"MCRFX"
}
},
"highlight": {
"title": {
"number_of_fragments":0
} }
}
But I got no success, in Kibana -sense I can't see a thing. Is it some issue of kibana or there is no highlight resulted expected out of it.
I can't figured out how to use named query in my conditions as I don't even have field names with me.
I am trying to dump a database in elasticsearch, when user search a value I want to show which table and which column had that value. The alternate solution I got is to dump in column based index only, but then each document has just one value. Is it a good strategy?. Any suggestions are really appreciated.