Skip to content

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

fix to url citation collection

Michael Christen02e4dedff267
diff --git a/source/net/yacy/search/index/Segment.java b/source/net/yacy/search/index/Segment.java
index 3d136084d..566b79c81 100644
--- a/source/net/yacy/search/index/Segment.java
+++ b/source/net/yacy/search/index/Segment.java
@@ -274,7 +274,7 @@ public class Segment {
byte[] refhash = new DigestURI(anchor).hash();
//System.out.println("*** addCitationIndex: urlhash = " + ASCII.String(urlhash) + ", refhash = " + ASCII.String(refhash) + ", urldate = " + urlModified.toString());
try {
- this.urlCitationIndex.add(urlhash, new CitationReference(refhash, urldate));
+ this.urlCitationIndex.add(refhash, new CitationReference(urlhash, urldate));
} catch (final Exception e) {
Log.logException(e);
}