-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
[BUG] Prevent word truncation with enabled resultsHighlighting #4091
Comments
Thanks for reporting. |
Thanks for the quick reply! |
The one question more. What was the search term? |
In this particular case the search term actually occurs way later in the resulted text and is not part of the truncated text. |
Hmm, don't know how to avoid Widows and orphans PS: Deutsch ist aber auch lustig: https://de.wikipedia.org/wiki/Hurenkind_und_Schusterjunge |
In case anybody is having this issue aswell, I was able to achieve much better results with a few modifications in solrconfig.xml. So far I have not experienced any word truncation. Within
Within
|
@loeffe1 |
I can, if you'd like me to. I'm just wondering if this needs more testing. |
I have created a pull request for a basic version supporting english and german cores. The |
When resultsHighlighting is enabled, words will be truncated at the start and / or end.
The text was updated successfully, but these errors were encountered: