Skip to content

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

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

orbiterc93cfdc23aea
diff --git a/source/de/anomic/plasma/plasmaWordIndexFile.java b/source/de/anomic/plasma/plasmaWordIndexFile.java
index 813452bf9..c2518a682 100644
--- a/source/de/anomic/plasma/plasmaWordIndexFile.java
+++ b/source/de/anomic/plasma/plasmaWordIndexFile.java
@@ -193,15 +193,11 @@ public final class plasmaWordIndexFile {
if (theIndex == null) {
i = null;
} else try {
- i = theIndex.rows(up, false, null);
+ i = theIndex.contentRows(-1);
} catch (kelondroException e) {
e.printStackTrace();
theIndex.file().delete();
i = null;
- } catch (IOException e) {
- e.printStackTrace();
- theIndex.file().delete();
- i = null;
}
}
public boolean hasNext() {