summaryrefslogtreecommitdiff
path: root/source/de/anomic/data/URLAnalysis.java
diff options
context:
space:
mode:
Diffstat (limited to 'source/de/anomic/data/URLAnalysis.java')
-rw-r--r--source/de/anomic/data/URLAnalysis.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/de/anomic/data/URLAnalysis.java b/source/de/anomic/data/URLAnalysis.java
index 74f98a1b1..0b420e751 100644
--- a/source/de/anomic/data/URLAnalysis.java
+++ b/source/de/anomic/data/URLAnalysis.java
@@ -411,8 +411,8 @@ public class URLAnalysis {
public static int diffurlcol(String metadataPath, String statisticFile, String diffFile) throws IOException {
System.out.println("INDEX DIFF URL-COL startup");
- HandleMap idx = new HandleMap(URLMetadataRow.rowdef.primaryKeyLength, URLMetadataRow.rowdef.objectOrder, 4, new File(statisticFile), 0);
- MetadataRepository mr = new MetadataRepository(new File(metadataPath), false, false);
+ HandleMap idx = new HandleMap(URLMetadataRow.rowdef.primaryKeyLength, URLMetadataRow.rowdef.objectOrder, 4, new File(statisticFile), 0);
+ MetadataRepository mr = new MetadataRepository(new File(metadataPath), "text.urlmd", false, false);
HandleSet hs = new HandleSet(URLMetadataRow.rowdef.primaryKeyLength, URLMetadataRow.rowdef.objectOrder, 0, 1000000);
System.out.println("INDEX DIFF URL-COL loaded dump, starting diff");
long start = System.currentTimeMillis();
@@ -438,8 +438,8 @@ public class URLAnalysis {
public static void export(String metadataPath, int format, String export, String diffFile) throws IOException {
// format: 0=text, 1=html, 2=rss/xml
- System.out.println("URL EXPORT startup");
- MetadataRepository mr = new MetadataRepository(new File(metadataPath), false, false);
+ System.out.println("URL EXPORT startup");
+ MetadataRepository mr = new MetadataRepository(new File(metadataPath), "text.urlmd", false, false);
HandleSet hs = (diffFile == null) ? null : new HandleSet(URLMetadataRow.rowdef.primaryKeyLength, URLMetadataRow.rowdef.objectOrder, new File(diffFile), 0);
System.out.println("URL EXPORT loaded dump, starting export");
Export e = mr.export(new File(export), ".*", hs, format, false);
@@ -452,8 +452,8 @@ public class URLAnalysis {
}
public static void delete(String metadataPath, String diffFile) throws IOException {
- System.out.println("URL DELETE startup");
- MetadataRepository mr = new MetadataRepository(new File(metadataPath), false, false);
+ System.out.println("URL DELETE startup");
+ MetadataRepository mr = new MetadataRepository(new File(metadataPath), "text.urlmd", false, false);
int mrSize = mr.size();
HandleSet hs = new HandleSet(URLMetadataRow.rowdef.primaryKeyLength, URLMetadataRow.rowdef.objectOrder, new File(diffFile), 0);
System.out.println("URL DELETE loaded dump, starting deletion of " + hs.size() + " entries from " + mrSize);