I am using highlight feature in our product with following like query:
"highlight": {
"fields": {
"content": {
"fragment_size": 100,
"number_of_fragments": 3
}
}
}
seems the default order of highlight results is based on importance, and I know I can change the order to be sorted by score by adding "order":"score" to my query.
But I would prefer the results is in the order that they appear in a paragraph instead of importance/score, I could not find any other documented options to change the return order.
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.