I need to find which field the match happened, if that can be found. I am open to use another query, the idea is to search a value in all index and all docs and come up with with relevant doc and field where match happened.
Have a look at named_queries and highlighting. Neither of them work super well with the _all field but those are how you figure out which field matched.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.