urlprot = urlstub == null ? null : SolrConfiguration.indexedList2protocolList(doc.getFieldValues(YaCySchema.inboundlinks_protocol_sxt.name()), urlstub.size());
if (urlprot != null && urlstub != null) {
assert urlprot.size() == urlstub.size();
Object[] urlprota = urlprot.toArray();
diff --git a/htroot/env/base.css b/htroot/env/base.css
index 3561a460c..3a22fcc7c 100644
--- a/htroot/env/base.css
+++ b/htroot/env/base.css
@@ -150,6 +150,16 @@ tt, *.tt {
display:hidden;
}
+.listing {
+ font-family:Courier,Terminal,sans-serif;
+ color:black;
+}
+
+.listingem {
+ font-family:Courier,Terminal,sans-serif;
+ color:DimGray;
+}
+
/* .snippetLoaded {
font-style:italic;
color: #666;
diff --git a/source/net/yacy/search/index/SolrConfiguration.java b/source/net/yacy/search/index/SolrConfiguration.java
index fd8ded0ac..ec9290541 100644
--- a/source/net/yacy/search/index/SolrConfiguration.java
+++ b/source/net/yacy/search/index/SolrConfiguration.java
@@ -775,6 +775,15 @@ public class SolrConfiguration extends ConfigurationSet implements Serializable
return doc;
}
+ /**
+ * this method compresses a list of protocol names to an indexed list.
+ * To do this, all 'http' entries are removed and considered as default.
+ * The remaining entries are indexed as follows: a list of - entries is produced, where
+ * is an index pointing to the original index of the protocol entry and
is the protocol entry itself.
+ * The entry is formatted as a 3-digit decimal number with leading zero digits.
+ * @param protocol
+ * @return a list of indexed protocol entries
+ */
private static List protocolList2indexedList(List protocol) {
List a = new ArrayList();
String p;
@@ -788,7 +797,15 @@ public class SolrConfiguration extends ConfigurationSet implements Serializable
}
return a;
}
-
+
+ public static List indexedList2protocolList(Collection