Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
replaced type of solr schema object sku of text_en_splitting_tight by string
orbitera548354c7157
diff --git a/defaults/solr/schema.xml b/defaults/solr/schema.xmlindex 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 andtrailing underscores (e.g. _version_) are reserved.-->-+<field name="id" type="string" indexed="true" stored="true" required="true" />- <field name="sku" type="text_en_splitting_tight" indexed="true" stored="true" omitNorms="true"/>+ <field name="sku" type="string" indexed="true" stored="true" omitNorms="true"/>+ <!--<field name="sku" type="text_en_splitting_tight" indexed="true" stored="true" omitNorms="true"/>--><field name="name" type="text_general" indexed="true" stored="true"/><field name="manu" type="text_general" indexed="true" stored="true" omitNorms="true"/><field name="cat" type="string" indexed="true" stored="true" multiValued="true"/>diff --git a/source/net/yacy/search/schema/CollectionSchema.java b/source/net/yacy/search/schema/CollectionSchema.javaindex 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 {// mandatoryid(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"),