From 24011dcbcc26f79f80a81a8dae59c6f65c1cee25 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Mon, 6 Nov 2023 22:44:18 +0100 Subject: [PATCH] more file name extensions for json list surrogate files --- source/net/yacy/search/Switchboard.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;