Skip to content

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

more file name extensions for json list surrogate files

Michael Peter Christen24011dcbcc26
diff --git a/source/net/yacy/search/Switchboard.java b/source/net/yacy/search/Switchboard.java
index bebd16cbd..bfadb1892 100644
--- a/source/net/yacy/search/Switchboard.java
+++ b/source/net/yacy/search/Switchboard.java
@@ -2166,7 +2166,10 @@ public final class Switchboard extends serverSwitch {
this.log.warn("IO Error processing zim file " + infile);
}
return moved;
- } else if (s.endsWith(".jsonlist") || s.endsWith(".jsonlist.gz") || s.endsWith(".flatjson")) {
+ } else if (
+ s.endsWith(".jsonl") || s.endsWith(".jsonl.gz") ||
+ s.endsWith(".jsonlist") || s.endsWith(".jsonlist.gz") ||
+ s.endsWith(".flatjson") || s.endsWith(".flatjson.gz")) {
return this.processSurrogateJson(infile, outfile);
}
InputStream is = null;