how are PRE and POST tags supposed to work in highlighting?
Assume I use:
pre_Tags : ["tag1", "tag2"],
post_tags : ["tag1", "tag2"],
There can be a single tag or more, and the “importance” is ordered.
What does it mean?
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,
Two issues to be fixed:
the internal STYLED_PRE_TAG array contains two entries for hlt2
and this issue propagated into doc as well:
but the code
Which one is correct? (I assume the code is right, thus "tags_schema")