Skip to content

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

removed failreason_t removal patch because that causes too much confusion using an external solr. to clean up the index after a schema change, use the index cleaner function from the online servlet

Michael Peter Christenc15aa758dcd7
diff --git a/source/net/yacy/search/Switchboard.java b/source/net/yacy/search/Switchboard.java
index d91a98e38..f33179b06 100644
--- a/source/net/yacy/search/Switchboard.java
+++ b/source/net/yacy/search/Switchboard.java
@@ -503,12 +503,6 @@ public final class Switchboard extends serverSwitch {
ConcurrentLog.logException(e);
}
}
-
- // for index migration in case of obsolete entries, delete entries now
- try {
- this.index.fulltext().getDefaultConnector().deleteByQuery("failreason_t:[* TO *]"); // field was renamed to failreason_s
- } catch (final IOException e1) {
- }
// initialize network database
final File mySeedFile = new File(this.networkRoot, SeedDB.DBFILE_OWN_SEED);