You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by to...@apache.org on 2016/02/25 09:12:48 UTC

svn commit: r1732257 - in /jackrabbit/oak/trunk/oak-solr-core/src: main/resources/solr/oak/conf/schema.xml test/resources/solr/oak/conf/schema.xml

Author: tommaso
Date: Thu Feb 25 08:12:48 2016
New Revision: 1732257

URL: http://svn.apache.org/viewvc?rev=1732257&view=rev
Log:
OAK-4056 - removed pint, plong, pdouble, pdate fields from default schema

Modified:
    jackrabbit/oak/trunk/oak-solr-core/src/main/resources/solr/oak/conf/schema.xml
    jackrabbit/oak/trunk/oak-solr-core/src/test/resources/solr/oak/conf/schema.xml

Modified: jackrabbit/oak/trunk/oak-solr-core/src/main/resources/solr/oak/conf/schema.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-solr-core/src/main/resources/solr/oak/conf/schema.xml?rev=1732257&r1=1732256&r2=1732257&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-solr-core/src/main/resources/solr/oak/conf/schema.xml (original)
+++ jackrabbit/oak/trunk/oak-solr-core/src/main/resources/solr/oak/conf/schema.xml Thu Feb 25 08:12:48 2016
@@ -109,12 +109,6 @@
 
         <fieldtype name="binary" class="solr.BinaryField"/>
 
-        <fieldType name="pint" class="solr.IntField"/>
-        <fieldType name="plong" class="solr.LongField"/>
-        <fieldType name="pfloat" class="solr.FloatField"/>
-        <fieldType name="pdouble" class="solr.DoubleField"/>
-        <fieldType name="pdate" class="solr.DateField" sortMissingLast="true"/>
-
         <fieldType name="currency" class="solr.CurrencyField" precisionStep="8" defaultCurrency="USD"
                    currencyConfig="currency.xml"/>
         <fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField"/>
@@ -143,7 +137,7 @@
         <dynamicField name="*_string_sort" type="string" indexed="false" stored="false" multiValued="false" docValues="true"/>
         <dynamicField name="*_binary_sort" type="string" indexed="true" stored="false" multiValued="false" omitNorms="true"/>
 
-        <dynamicField name="*" type="text_general" indexed="true" stored="true" multiValued="true"/>
+        <dynamicField name="*" type="text_general" indexed="true" stored="false" multiValued="true"/>
     </fields>
 
     <uniqueKey>path_exact</uniqueKey>

Modified: jackrabbit/oak/trunk/oak-solr-core/src/test/resources/solr/oak/conf/schema.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-solr-core/src/test/resources/solr/oak/conf/schema.xml?rev=1732257&r1=1732256&r2=1732257&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-solr-core/src/test/resources/solr/oak/conf/schema.xml (original)
+++ jackrabbit/oak/trunk/oak-solr-core/src/test/resources/solr/oak/conf/schema.xml Thu Feb 25 08:12:48 2016
@@ -115,12 +115,6 @@
 
         <fieldtype name="binary" class="solr.BinaryField"/>
 
-        <fieldType name="pint" class="solr.IntField"/>
-        <fieldType name="plong" class="solr.LongField"/>
-        <fieldType name="pfloat" class="solr.FloatField"/>
-        <fieldType name="pdouble" class="solr.DoubleField"/>
-        <fieldType name="pdate" class="solr.DateField" sortMissingLast="true"/>
-
         <fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>
 
         <fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
@@ -147,6 +141,10 @@
         <field name="path_depth" type="tint" indexed="true" stored="false"/>
         <field name="_version_" type="long" indexed="true" stored="true"/>
 
+        <field name="jcr:title" type="text_general" indexed="true" stored="true" multiValued="true" />
+        <field name="jcr:description" type="text_general" indexed="true" stored="true" multiValued="true" />
+        <field name="text" type="text_general" indexed="true" stored="true" multiValued="true" />
+
         <!-- facet fields -->
         <dynamicField name="*_facet" type="string" indexed="false" stored="false" docValues="true" multiValued="true"/>
 
@@ -155,7 +153,7 @@
         <dynamicField name="*_string_sort" type="string" indexed="false" stored="false" multiValued="false" docValues="true"/>
         <dynamicField name="*_binary_sort" type="string" indexed="true" stored="false" multiValued="false" omitNorms="true"/>
 
-        <dynamicField name="*" type="text_general" indexed="true" stored="true" multiValued="true"/>
+        <dynamicField name="*" type="text_general" indexed="true" stored="false" multiValued="true"/>
     </fields>
     <uniqueKey>path_exact</uniqueKey>
     <copyField source="path_exact" dest="path_anc"/>