I have an application that read the results from my query in elasticsearch and I take all the fields of the response and after it, I put it in a windows form for the user.
Now I would like remark the part when I have a result in Highlight, but my question is, is it possible that the remarks (< em >) appears in the field response?
In negative case..I'm doing a loop in Highlight searching if exists in the document to replace it but is inefficient
Yes, but It returns these results outside of the source. For example, If I make a query to highlighting the word "ande" in a index that I have the name "Alexander", I will receive the next:
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.