From 46fa800bc78e197e41fd66193f5a29118b54fd82 Mon Sep 17 00:00:00 2001 From: reger Date: Sat, 27 Apr 2013 03:11:44 +0200 Subject: [PATCH] added httpstatus_i to automatically switched on fields (used in all search queries) --- source/net/yacy/search/Switchboard.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/net/yacy/search/Switchboard.java b/source/net/yacy/search/Switchboard.java index 8dd9a3829..6f3439557 100644 --- a/source/net/yacy/search/Switchboard.java +++ b/source/net/yacy/search/Switchboard.java @@ -440,7 +440,8 @@ public final class Switchboard extends serverSwitch { CollectionSchema.url_file_ext_s, CollectionSchema.last_modified, // needed for media search and /date operator /*YaCySchema.url_paths_sxt,*/ CollectionSchema.host_organization_s, // needed to search in the url /*YaCySchema.inboundlinks_protocol_sxt,*/ CollectionSchema.inboundlinks_urlstub_txt, // needed for HostBrowser - /*YaCySchema.outboundlinks_protocol_sxt,*/ CollectionSchema.outboundlinks_urlstub_txt // needed to enhance the crawler + /*YaCySchema.outboundlinks_protocol_sxt,*/ CollectionSchema.outboundlinks_urlstub_txt,// needed to enhance the crawler + CollectionSchema.httpstatus_i // used in all search queries to filter out error documents }) { SchemaConfiguration.Entry entry = solrCollectionConfigurationWork.get(field.name()); entry.setEnable(true); solrCollectionConfigurationWork.put(field.name(), entry); }