Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
FVH can result in massive CPU & RAM usage if MultPhraseQuery is large #3142
in the case of a MultiPhraseQuery (multiple terms on the same position) the highlighter can result in a very big cpu and memory cosumption. We should cut off if there are too many terms and just highlight term by term instead which might result in slightly different highlights but doesn't potentially kill a node.