From b2c8bc0ae6efd73d827d536d8e96e4b041e0452b Mon Sep 17 00:00:00 2001 From: reger Date: Fri, 27 Nov 2015 02:41:02 +0100 Subject: [PATCH] remove md5_s from default index fields it is not assigned a value / not used Due to above also excluded from transfer protocol. --- defaults/solr.collection.schema | 4 ++-- source/net/yacy/kelondro/data/meta/URIMetadataNode.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/defaults/solr.collection.schema b/defaults/solr.collection.schema index d48750f6f..06f7b4ccb 100644 --- a/defaults/solr.collection.schema +++ b/defaults/solr.collection.schema @@ -51,8 +51,8 @@ title ## id of the host, a 6-byte hash that is part of the document id (mandatory field) host_id_s -## the md5 of the raw source (mandatory field) -md5_s +## the md5 of the raw source +#md5_s ## the 64 bit hash of the org.apache.solr.update.processor.Lookup3Signature of text_t exact_signature_l diff --git a/source/net/yacy/kelondro/data/meta/URIMetadataNode.java b/source/net/yacy/kelondro/data/meta/URIMetadataNode.java index 7681c2bc3..206ce5e08 100644 --- a/source/net/yacy/kelondro/data/meta/URIMetadataNode.java +++ b/source/net/yacy/kelondro/data/meta/URIMetadataNode.java @@ -130,7 +130,7 @@ public class URIMetadataNode extends SolrDocument /* implements Comparable