Permalink
Browse files

Ability to index word counts in SOLR. WordCountBolt now connects to

SolrIndexerBolt.
  • Loading branch information...
1 parent 585d0ac commit 002f71c2fe4f6a2e176a7c45e417230c4f0ad749 @kitmenke committed Sep 5, 2015
Oops, something went wrong.
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<schema name="banana-int" version="1.5">
+ <fields>
+ <!-- <field name="_id" type="string" indexed="true" stored="true" required="true" multiValued="false"/> -->
+ <field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false"/>
+ <!-- <field name="_type" type="string" indexed="true" stored="true"/> -->
+ <!-- <field name="_source" type="string" indexed="false" stored="true"/> -->
+ <field name="user" type="string" indexed="true" stored="true"/>
+ <field name="group" type="string" indexed="true" stored="true"/>
+ <field name="title" type="string" indexed="true" stored="true"/>
+ <field name="dashboard" type="string" indexed="false" stored="true"/>
+
+ <field name="_version_" type="long" indexed="true" stored="true"/>
+ </fields>
+
+ <!-- <uniqueKey>_id</uniqueKey> -->
+ <uniqueKey>id</uniqueKey>
+
+ <types>
+ <fieldType name="string" class="solr.StrField" sortMissingLast="true" />
+ <fieldType name="long" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/>
+ </types>
+
+</schema>
Oops, something went wrong.

0 comments on commit 002f71c

Please sign in to comment.