Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
do not store subfield *_coordinate + make all num-fields being docvalues
sixcooler646afe9183a9
diff --git a/source/net/yacy/search/schema/CollectionSchema.java b/source/net/yacy/search/schema/CollectionSchema.javaindex edb28cc59..d97c7f00f 100644--- a/source/net/yacy/search/schema/CollectionSchema.java+++ b/source/net/yacy/search/schema/CollectionSchema.java@@ -79,8 +79,8 @@ public enum CollectionSchema implements SchemaDeclaration {// optional but recommendedcoordinate_p(SolrType.location, true, true, false, false, false, "point in degrees of latitude,longitude as declared in WSG84"),- coordinate_p_0_coordinate(SolrType.coordinate, true, true, false, false, false, "automatically created subfield, (latitude)"),- coordinate_p_1_coordinate(SolrType.coordinate, true, true, false, false, false, "automatically created subfield, (longitude)"),+ coordinate_p_0_coordinate(SolrType.coordinate, true, false, false, false, false, "automatically created subfield, (latitude)"),+ coordinate_p_1_coordinate(SolrType.coordinate, true, false, false, false, false, "automatically created subfield, (longitude)"),ip_s(SolrType.string, true, true, false, false, false, "ip of host of url (after DNS lookup)"),author(SolrType.text_general, true, true, false, false, true, "content of author-tag"),author_sxt(SolrType.string, true, true, true, false, false, "content of author-tag as copy-field from author. This is used for facet generation"),@@ -263,7 +263,7 @@ public enum CollectionSchema implements SchemaDeclaration {this.omitNorms = omitNorms;this.searchable = searchable;this.comment = comment;- this.docValues = (type == SolrType.string || type == SolrType.date);+ this.docValues = (type == SolrType.string || type == SolrType.date || type.name().startsWith("num_"));// verify our naming schemeString name = this.name();int p = name.indexOf('_');diff --git a/source/net/yacy/search/schema/WebgraphSchema.java b/source/net/yacy/search/schema/WebgraphSchema.javaindex ee7ad8eac..ef5f4ae6b 100644--- a/source/net/yacy/search/schema/WebgraphSchema.java+++ b/source/net/yacy/search/schema/WebgraphSchema.java@@ -117,7 +117,7 @@ public enum WebgraphSchema implements SchemaDeclaration {this.omitNorms = omitNorms;this.searchable = searchable;this.comment = comment;- this.docValues = (type == SolrType.string || type == SolrType.date);+ this.docValues = (type == SolrType.string || type == SolrType.date || type.name().startsWith("num_"));// verify our naming schemeString name = this.name();int p = name.indexOf('_');