You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chukwa.apache.org by ey...@apache.org on 2014/09/28 23:22:06 UTC

svn commit: r1628102 - in /chukwa/branches/chukwa-0.6: CHANGES.txt contrib/solr/logs/conf/schema.xml

Author: eyang
Date: Sun Sep 28 21:22:06 2014
New Revision: 1628102

URL: http://svn.apache.org/r1628102
Log:
CHUKWA-730. Updated Solr schema to work with Solr 4.7.2.  (Eric Yang)

Modified:
    chukwa/branches/chukwa-0.6/CHANGES.txt
    chukwa/branches/chukwa-0.6/contrib/solr/logs/conf/schema.xml

Modified: chukwa/branches/chukwa-0.6/CHANGES.txt
URL: http://svn.apache.org/viewvc/chukwa/branches/chukwa-0.6/CHANGES.txt?rev=1628102&r1=1628101&r2=1628102&view=diff
==============================================================================
--- chukwa/branches/chukwa-0.6/CHANGES.txt (original)
+++ chukwa/branches/chukwa-0.6/CHANGES.txt Sun Sep 28 21:22:06 2014
@@ -66,6 +66,8 @@ Release 0.6 - 08/16/2014
 
   BUGS
 
+    CHUKWA-730. Updated Solr schema to work with Solr 4.7.2.  (Eric Yang)
+
     CHUKWA-729. Downgrade solr version for JDK 6 support.  (Eric Yang)
 
     CHUKWA-728. Update start/stop scripts to essential components.  (Eric Yang)

Modified: chukwa/branches/chukwa-0.6/contrib/solr/logs/conf/schema.xml
URL: http://svn.apache.org/viewvc/chukwa/branches/chukwa-0.6/contrib/solr/logs/conf/schema.xml?rev=1628102&r1=1628101&r2=1628102&view=diff
==============================================================================
--- chukwa/branches/chukwa-0.6/contrib/solr/logs/conf/schema.xml (original)
+++ chukwa/branches/chukwa-0.6/contrib/solr/logs/conf/schema.xml Sun Sep 28 21:22:06 2014
@@ -53,7 +53,7 @@
        1.0: Generic Hadoop log collection
      -->
 
-
+<fields>
    <!-- Valid attributes for fields:
      name: mandatory - the name for the field
      type: mandatory - the name of a field type from the 
@@ -111,7 +111,6 @@
      installations. See the <uniqueKey> declaration below where <uniqueKey> is set to "id".
    -->   
    <field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" /> 
-        
    <field name="seqId" type="string" indexed="true" stored="true" omitNorms="true"/>
    <field name="type" type="text_general" indexed="true" stored="true" omitNorms="true"/>
    <field name="stream" type="string" indexed="true" stored="true" multiValued="true"/>
@@ -123,6 +122,8 @@
         via copyField further on in this schema  -->
    <field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/>
 
+</fields>
+
  <!-- Field to use to determine and enforce document uniqueness. 
       Unless this field is marked with required="false", it will be a required field
    -->
@@ -152,6 +153,7 @@
    <copyField source="tags" dest="text"/>
    <copyField source="data" dest="text"/>
 
+   <types>
     <!-- The StrField type is not analyzed, but indexed/stored verbatim.
        It supports doc values but in that case the field needs to be
        single-valued and either required or have a default value.
@@ -365,5 +367,5 @@
         <filter class="solr.LowerCaseFilterFactory"/>
       </analyzer>
     </fieldType>
-
+  </types>
 </schema>