Hi, guys.
I know that elasticsearch can have minimum score when we set up the query.
I just want to know that does it also support minimum score for
highlighting query?
After I running some highlighting query to ES, I realize that it highlights
segments inprecisely.
Is there minimum score I can set for highlight query to make the
highlighting functionality more correct?
No it doesn't. Highlighting is way weirder to implement then it probably
should be so concepts like score don't match over too well. They do weigh
segments but that wight isn't the same beast as a document score. Its much
more heuristicy. None of them support a minimum weight cutoff.
You could implement one but it'd take some tuning to get it to make sense.
Nik
On Dec 29, 2014 5:49 PM, "Yang Liu" yl916@nyu.edu wrote:
Hi, guys.
I know that elasticsearch can have minimum score when we set up the query.
I just want to know that does it also support minimum score for
highlighting query?
After I running some highlighting query to ES, I realize that it
highlights segments inprecisely.
Is there minimum score I can set for highlight query to make the
highlighting functionality more correct?
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.