I did not find any unit test for that in ES code.
Also I think there might be an issue in the code because if I use "styled"
schema then all of my highlighted fragments used only the first tag from the
internal array: i.e.
So the question is when can I expect the other tags being used? (hlt2, hlt3,
...)
The Lucene vector highlighter tries to "score" a highlighted hit and that
score is how important it is.
I did not find any unit test for that in ES code.
Also I think there might be an issue in the code because if I use "styled"
schema then all of my highlighted fragments used only the first tag from the
internal array: i.e.
So the question is when can I expect the other tags being used?
(hlt2, hlt3, ...)
The Lucene vector highlighter tries to "score" a highlighted hit and that
score is how important it is.
Let's say I have two pre_tags, then the first one is used if the score is >
0.5 and the second tag is used if score < 0.5 ?
Something like that?
I did not find any unit test for that in ES code.
Also I think there might be an issue in the code because if I use "styled"
schema then all of my highlighted fragments used only the first tag from the
internal array: i.e.
So the question is when can I expect the other tags being used?
(hlt2, hlt3, ...)
The Lucene vector highlighter tries to "score" a highlighted hit and that
score is how important it is.
Let's say I have two pre_tags, then the first one is used if the score is >
0.5 and the second tag is used if score < 0.5 ?
Something like that?
yes, though don't confuse it with search hits scoring.
I did not find any unit test for that in ES code.
Also I think there might be an issue in the code because if I use
"styled" schema then all of my highlighted fragments used only the first tag
from the internal array: i.e.
So the question is when can I expect the other tags being used?
(hlt2, hlt3, ...)
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.