From a548354c71570b489c8a968254b638739beb3929 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sat, 13 Jul 2013 18:54:09 +0200 Subject: [PATCH] replaced type of solr schema object sku of text_en_splitting_tight by string --- defaults/solr/schema.xml | 5 +++-- source/net/yacy/search/schema/CollectionSchema.java | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/defaults/solr/schema.xml b/defaults/solr/schema.xml index 675dc9513..423c21899 100755 --- a/defaults/solr/schema.xml +++ b/defaults/solr/schema.xml @@ -90,9 +90,10 @@ and back compatibility is not guaranteed. Names with both leading and trailing underscores (e.g. _version_) are reserved. --> - + - + + diff --git a/source/net/yacy/search/schema/CollectionSchema.java b/source/net/yacy/search/schema/CollectionSchema.java index 295171f6a..a65c714e7 100644 --- a/source/net/yacy/search/schema/CollectionSchema.java +++ b/source/net/yacy/search/schema/CollectionSchema.java @@ -32,7 +32,8 @@ public enum CollectionSchema implements SchemaDeclaration { // mandatory id(SolrType.string, true, true, false, false, false, "primary key of document, the URL hash **mandatory field**"), - sku(SolrType.text_en_splitting_tight, true, true, false, true, true, "url of document"), // a 'sku' is a stock-keeping unit, a unique identifier and a default field in unmodified solr. + sku(SolrType.string, true, true, false, true, true, "url of document"), // a 'sku' is a stock-keeping unit, a unique identifier and a default field in unmodified solr. + //sku(SolrType.text_en_splitting_tight, true, true, false, true, true, "url of document"), // a 'sku' is a stock-keeping unit, a unique identifier and a default field in unmodified solr. last_modified(SolrType.date, true, true, false, false, false, "last-modified from http header"), content_type(SolrType.string, true, true, true, false, false, "mime-type of document"), title(SolrType.text_general, true, true, true, false, true, "content of title tag"),