Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix for http://www.yacy-forum.de/viewtopic.php?p=37353#37353

orbiter815e3da62f8b
diff --git a/htroot/Surftips.java b/htroot/Surftips.java
index ab72cbcb3..e22afe097 100644
--- a/htroot/Surftips.java
+++ b/htroot/Surftips.java
@@ -227,7 +227,7 @@ public class Surftips {
if (url.length() < 12) continue;
entry = rowdef.newEntry(new byte[][]{
url.getBytes(),
- ((intention.length() == 0) ? record.attribute("startURL", "") : intention).getBytes(),
+ (((intention.length() == 0) || (intention.equals("simple web crawl"))) ? record.attribute("startURL", "") : intention).getBytes(),
("Crawl Start Point").getBytes("UTF-8"),
record.id().getBytes()
});
diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java
index da07b861f..49d296218 100644
--- a/htroot/yacysearch.java
+++ b/htroot/yacysearch.java
@@ -209,7 +209,7 @@ public class yacysearch {
serverObjects prop = new serverObjects();
if (post.get("cat", "href").equals("href")) {
- final TreeSet[] query = plasmaSearchQuery.cleanQuery(querystring);
+ final TreeSet[] query = plasmaSearchQuery.cleanQuery(querystring); // converts also umlaute
// filter out stopwords
final TreeSet filtered = kelondroMSetTools.joinConstructive(query[0], plasmaSwitchboard.stopwords);
if (filtered.size() > 0) {
diff --git a/source/de/anomic/plasma/plasmaCondenser.java b/source/de/anomic/plasma/plasmaCondenser.java
index 9d60353a7..87bf9d815 100644
--- a/source/de/anomic/plasma/plasmaCondenser.java
+++ b/source/de/anomic/plasma/plasmaCondenser.java
@@ -152,10 +152,10 @@ public final class plasmaCondenser {
// phrase 99 is taken from the media Link url and anchor description
// phrase 100 and above are lines from the text
- insertTextToWords(document.getTitle(), 1, indexRWIEntry.flag_app_descr, wflags);
- //insertTextToWords(document.getTitle(), 2, indexRWIEntryNew.flag_app_descr, wflags);
- insertTextToWords(document.getAbstract(), 3, indexRWIEntry.flag_app_descr, wflags);
- insertTextToWords(document.getAuthor(), 4, indexRWIEntry.flag_app_descr, wflags);
+ insertTextToWords(document.getTitle(), 1, indexRWIEntry.flag_app_descr, wflags);
+ //insertTextToWords(document.getTitle(), 2, indexRWIEntryNew.flag_app_descr, wflags);
+ insertTextToWords(document.getAbstract(), 3, indexRWIEntry.flag_app_descr, wflags);
+ insertTextToWords(document.getAuthor(), 4, indexRWIEntry.flag_app_descr, wflags);
// missing: tags!
String[] titles = document.getSectionTitles();
for (int i = 0; i < titles.length; i++) {
diff --git a/yacy.init b/yacy.init
index 710ee52bb..39aa57860 100644
--- a/yacy.init
+++ b/yacy.init
@@ -627,10 +627,10 @@ javastart_priority=0
# flushed to disc; this may last some minutes.
wordCacheMaxCount = 20000
wordCacheInitCount = 30000
-wordFlushSize = 500;
+wordFlushSize = 500
wordCacheMaxCount__pro = 60000
wordCacheInitCount__pro = 80000
-wordFlushSize__pro = 1000;
+wordFlushSize__pro = 1000
# Specifies if yacy can be used as transparent http proxy.
#