ElasticSearch Highlighting not doing what I would expect

Hi,
I am performing one regex query on the keyword field
POST 1101741821_mails/_search
{
"query": {
"regexp": {
"body.not_analyzed": ".hello my."
}
},
"highlight": {
"fields": {
"body.not_analyzed": {
"pre_tags": [""],
"post_tags": ["
"]
}
}
}
}
and my response is coming up like
"highlight" : {
"body.not_analyzed" : [
"""Hello my name is Joe Bloggs did you know that?

"""
]
}
}

So here my whole content is getting highlighted instead of only hello my what should I change in the highlight configuration I can't change the regex query

Hi @Akesh_Jadhav

I recommend read Control highlighted fragments.

Hi, can you help me with this? I didn't how it solve my problem.

I believe you can configure the number_of_fragments and fragment_size. To help better, you would have to provide an example of an indexed document and the mapping to know what this .not_analized field is.