"If the number_of_fragments value is set to 0 then no fragments are
produced, instead the whole content of the field is returned, and of
course it is highlighted."
This did not work for me. It returned no highlights. Through trial
and error, I discovered that setting number_of_fragments to -1 does
exhibit this behavior.
interesting, do you think you can provide recreation script for this? I am
using value 0 and it works as expected, also I can see that there are some
tests in ES using value 0 as well.
"If the number_of_fragments value is set to 0 then no fragments are
produced, instead the whole content of the field is returned, and of
course it is highlighted."
This did not work for me. It returned no highlights. Through trial
and error, I discovered that setting number_of_fragments to -1 does
exhibit this behavior.
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.