mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
fix from gaston in
http://forum.yacy-websuche.de/viewtopic.php?p=26909#p26909
This commit is contained in:
parent
acb9f04e80
commit
9b8c8c0f47
|
@ -270,7 +270,7 @@ public class SolrConfiguration extends ConfigurationSet implements Serializable
|
|||
if (text == null || text.length() == 0) return;
|
||||
if (sb.length() != 0) sb.append(' ');
|
||||
text = text.trim();
|
||||
if (text.charAt(text.length() - 1) == '.') sb.append(text); else sb.append(text).append('.');
|
||||
if (!text.isEmpty() && text.charAt(text.length() - 1) == '.') sb.append(text); else sb.append(text).append('.');
|
||||
}
|
||||
|
||||
public SolrDoc yacy2solr(final String id, final ResponseHeader header, final Document yacydoc, final URIMetadata metadata) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user