Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CHUKWA-730. Updated Solr schema to work with Solr 4.7.2. (Eric Yang)
git-svn-id: https://svn.apache.org/repos/asf/chukwa/trunk@1628103 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
macroadster committed Sep 28, 2014
1 parent 71bcad3 commit 6e3e73e9af5fed61a3fd6eae24f4886c1899f7dc
Showing 2 changed files with 8 additions and 4 deletions.
@@ -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)
@@ -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>

0 comments on commit 6e3e73e

Please sign in to comment.