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
Unexpected Mathjax error in SERP #22
Comments
@GaurangTandon Thank you for reporting, will investigate later when I get some time. |
@GaurangTandon Hi, the reason is actually quite simple, since the search result snippet is trying to summarize a document in a short paragraph, it has to skip some content and show as many highlighted words as possible. This leads to the problem you have seen: In all the cases that you find this problem, the content that is skipped (those will be replaced by a The current content skipping strategy is simple: Given a number of keywords in the document (within a threshold limit search-engine/search/snippet.c Lines 124 to 125 in 4780e49
One way to fix this issue is not skipping any LaTeX content, but some LaTeX content are very long and this strategy will make some snippet unacceptable long. So a more smart algorithm is needed to either include complete LaTeX clip or do not include any part of that clip if it is too long. We can leave this issue open before a better skipping strategy algorithm is implemented. |
Search results page
Broken Mathjax of entry 8 copy-pasted for reference:
The text was updated successfully, but these errors were encountered: