chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r1628103 - in /chukwa/trunk: CHANGES.txt contrib/solr/logs/conf/schema.xml
Date Sun, 28 Sep 2014 21:23:08 GMT
Author: eyang
Date: Sun Sep 28 21:23:08 2014
New Revision: 1628103

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

Modified:
    chukwa/trunk/CHANGES.txt
    chukwa/trunk/contrib/solr/logs/conf/schema.xml

Modified: chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/chukwa/trunk/CHANGES.txt?rev=1628103&r1=1628102&r2=1628103&view=diff
==============================================================================
--- chukwa/trunk/CHANGES.txt (original)
+++ chukwa/trunk/CHANGES.txt Sun Sep 28 21:23:08 2014
@@ -8,7 +8,7 @@ Trunk (unreleased changes)
 
   BUGS
 
-Release 0.6 - 08/16/2014
+Release 0.6 - 09/28/2014
 
   NEW FEATURES
 
@@ -74,6 +74,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/trunk/contrib/solr/logs/conf/schema.xml
URL: http://svn.apache.org/viewvc/chukwa/trunk/contrib/solr/logs/conf/schema.xml?rev=1628103&r1=1628102&r2=1628103&view=diff
==============================================================================
--- chukwa/trunk/contrib/solr/logs/conf/schema.xml (original)
+++ chukwa/trunk/contrib/solr/logs/conf/schema.xml Sun Sep 28 21:23:08 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>



Mime
View raw message