mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
*) hopefully fixed a stupid bug (my fault of course) that sometimes messed up the marking of search words in the snippets (see http://www.yacy-forum.de/viewtopic.php?p=37329#37329)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3908 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
2c70228f5f
commit
c59a7ce5c2
|
@ -183,7 +183,7 @@ public class plasmaSnippetCache {
|
|||
|
||||
// cut off prefix if it contains of non-characters or non-numbers
|
||||
while(w[j].matches("\\A[^\\p{L}\\p{N}].+")) {
|
||||
prefix = w[j].substring(0,1) + prefix;
|
||||
prefix = prefix + w[j].substring(0,1);
|
||||
w[j] = w[j].substring(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user