-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elasticsearch highlight lose character when index_options=offsets #60168
Comments
Pinging @elastic/es-search (:Search/Highlighting) |
Pinging @elastic/es-search (Team:Search) |
Hi can i work on this issue |
@DHRUV6029 So far there is no PR submitted for this issue. You are welcome to submit yours. |
Hi @mayya-sharipova .. I would like to work on this issue. Can this issue be assigned to me? |
@arshPratap You are welcome to submit a PR, we don't assign external contributors to an issue. |
Hi! I want to contribute to this issue. So far, the issue I have found is during formatting of the highlight field, under the Upon further inspection, the passage StartOffset is assigned to be I hope to receive more guidance on this issue! |
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
@mayya-sharipova @javanna |
Elasticsearch version (
bin/elasticsearch --version
): 7.7.1Plugins installed: []
JVM version (
java -version
): openjdk version "11.0.7" 2020-04-14 LTSOS version (
uname -a
if on a Unix-like system): GNU/LinuxDescription of the problem including expected versus actual behavior:
set properties
index_options=offsets
,doc title is
can work?shit
, serach result highlight is"<em>shit</em>"
.If the search match the last word, and the last word is preceded by a tag symbol, then the highlighting will wrong when set properties
index_options=offsets
.Steps to reproduce:
search result is blow:
hightlight type=plain
, it works.result is blow:
The text was updated successfully, but these errors were encountered: