fixed bug in solr interface

pull/1/head
Michael Peter Christen 13 years ago
parent 70505107ca
commit 2717c1b749

@ -203,6 +203,7 @@ public final class MetadataRepository implements /*Metadata,*/ Iterable<byte[]>
} }
public boolean exists(final byte[] urlHash) { public boolean exists(final byte[] urlHash) {
if (urlHash == null) return false;
try { try {
if (this.solr != null && this.solr.exists(ASCII.String(urlHash))) { if (this.solr != null && this.solr.exists(ASCII.String(urlHash))) {
return true; return true;

Loading…
Cancel
Save