This is an automated email from the ASF dual-hosted git repository.

oleewere pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 91fb8b6  AMBARI-23078. Log Search: redesign Solr schema 
(service/audits) - use better types (#915)
91fb8b6 is described below

commit 91fb8b684fe9312cab0f033ea6ad263fd5e536d8
Author: Olivér Szabó <oleew...@gmail.com>
AuthorDate: Fri Apr 6 17:23:00 2018 +0200

    AMBARI-23078. Log Search: redesign Solr schema (service/audits) - use 
better types (#915)
---
 .../main/configsets/audit_logs/conf/managed-schema |  57 +++++++----
 .../configsets/hadoop_logs/conf/managed-schema     | 114 ++++++++++++---------
 .../main/configsets/history/conf/managed-schema    |  47 +++++----
 3 files changed, 125 insertions(+), 93 deletions(-)

diff --git 
a/ambari-logsearch/ambari-logsearch-server/src/main/configsets/audit_logs/conf/managed-schema
 
b/ambari-logsearch/ambari-logsearch-server/src/main/configsets/audit_logs/conf/managed-schema
index 3f7fe3d..086e081 100644
--- 
a/ambari-logsearch/ambari-logsearch-server/src/main/configsets/audit_logs/conf/managed-schema
+++ 
b/ambari-logsearch/ambari-logsearch-server/src/main/configsets/audit_logs/conf/managed-schema
@@ -16,35 +16,42 @@
   limitations under the License.
 -->
 <!-- Solr managed schema - automatically generated - DO NOT EDIT -->
-<schema name="audit-logs-schema" version="1.5">
+<schema name="audit-logs-schema" version="1.6">
   <uniqueKey>id</uniqueKey>
   <fieldType name="binary" class="solr.BinaryField"/>
   <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/>
   <fieldType name="booleans" class="solr.BoolField" sortMissingLast="true" 
multiValued="true"/>
-  <fieldType name="date" class="solr.TrieDateField" positionIncrementGap="0" 
precisionStep="0"/>
-  <fieldType name="double" class="solr.TrieDoubleField" 
positionIncrementGap="0" precisionStep="0"/>
-  <fieldType name="float" class="solr.TrieFloatField" positionIncrementGap="0" 
precisionStep="0"/>
+  <fieldType name="date" class="solr.TrieDateField" docValues="true"/>
+  <fieldType name="double" class="solr.TrieDoubleField" docValues="true"/>
+  <fieldType name="float" class="solr.TrieFloatField" docValues="true"/>
   <fieldType name="ignored" class="solr.StrField" indexed="false" 
stored="false" multiValued="true"/>
-  <fieldType name="int" class="solr.TrieIntField" positionIncrementGap="0" 
precisionStep="0"/>
+  <fieldType name="int" class="solr.IntPointField" docValues="true"/>
+  <fieldType name="long" class="solr.LongPointField" docValues="true"/>
+  <fieldType name="random" class="solr.RandomSortField" indexed="true"/>
+  <fieldType name="string" class="solr.StrField" sortMissingLast="true" 
docValues="true"/>
+  <fieldType name="strings" class="solr.StrField" sortMissingLast="true" 
docValues="true" multiValued="true"/>
+  <fieldType name="tdate" class="solr.DatePointField" docValues="true"/>
+  <fieldType name="tdates" class="solr.DatePointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tdouble" class="solr.DoublePointField" docValues="true"/>
+  <fieldType name="tdoubles" class="solr.DoublePointField" multiValued="true"/>
+  <fieldType name="tfloat" class="solr.FloatPointField" docValues="true"/>
+  <fieldType name="tfloats" class="solr.FloatPointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tint" class="solr.IntPointField" docValues="true"/>
+  <fieldType name="tints" class="solr.IntPointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tlong" class="solr.LongPointField" docValues="true"/>
+  <fieldType name="tlongs" class="solr.LongPointField" multiValued="true" 
docValues="true"/>
   <fieldType name="key_lower_case" class="solr.TextField" omitNorms="true" 
sortMissingLast="true" multiValued="false">
     <analyzer>
       <tokenizer class="solr.KeywordTokenizerFactory"/>
       <filter class="solr.LowerCaseFilterFactory"/>
     </analyzer>
   </fieldType>
-  <fieldType name="long" class="solr.TrieLongField" positionIncrementGap="0" 
precisionStep="0"/>
   <fieldType name="n_gram" class="solr.TextField" omitNorms="true" 
sortMissingLast="true">
     <analyzer>
       <tokenizer class="solr.NGramTokenizerFactory"/>
       <filter class="solr.LowerCaseFilterFactory"/>
     </analyzer>
   </fieldType>
-  <fieldType name="random" class="solr.RandomSortField" indexed="true"/>
-  <fieldType name="string" class="solr.StrField" sortMissingLast="true"/>
-  <fieldType name="tdate" class="solr.TrieDateField" positionIncrementGap="0" 
precisionStep="6"/>
-  <fieldType name="tdates" class="solr.TrieDateField" positionIncrementGap="0" 
multiValued="true" precisionStep="6"/>
-  <fieldType name="tdouble" class="solr.TrieDoubleField" 
positionIncrementGap="0" precisionStep="8"/>
-  <fieldType name="tdoubles" class="solr.TrieDoubleField" 
positionIncrementGap="0" multiValued="true" precisionStep="8"/>
   <fieldType name="text_std_token_lower_case" class="solr.TextField" 
positionIncrementGap="100" multiValued="true">
     <analyzer>
       <tokenizer class="solr.StandardTokenizerFactory"/>
@@ -57,16 +64,10 @@
       <filter class="solr.LowerCaseFilterFactory"/>
     </analyzer>
   </fieldType>
-  <fieldType name="tfloat" class="solr.TrieFloatField" 
positionIncrementGap="0" precisionStep="8"/>
-  <fieldType name="tfloats" class="solr.TrieFloatField" 
positionIncrementGap="0" multiValued="true" precisionStep="8"/>
-  <fieldType name="tint" class="solr.TrieIntField" positionIncrementGap="0" 
precisionStep="8"/>
-  <fieldType name="tints" class="solr.TrieIntField" positionIncrementGap="0" 
multiValued="true" precisionStep="8"/>
-  <fieldType name="tlong" class="solr.TrieLongField" positionIncrementGap="0" 
precisionStep="8"/>
-  <fieldType name="tlongs" class="solr.TrieLongField" positionIncrementGap="0" 
multiValued="true" precisionStep="8"/>
   <field name="_expire_at_" type="tdate" multiValued="false" stored="true"/>
   <field name="_router_field_" type="int" multiValued="false" indexed="false" 
stored="false"/>
   <field name="_ttl_" type="string" multiValued="false" indexed="true" 
stored="true"/>
-  <field name="_version_" type="long" indexed="true" stored="true"/>
+  <field name="_version_" type="long" indexed="false" stored="true"/>
   <field name="access" type="key_lower_case" multiValued="false"/>
   <field name="action" type="key_lower_case" multiValued="false"/>
   <field name="agent" type="key_lower_case" multiValued="false"/>
@@ -121,5 +122,21 @@
   <dynamicField name="std_*" type="text_std_token_lower_case" 
multiValued="false" stored="true"/>
   <dynamicField name="key_*" type="key_lower_case" multiValued="false" 
stored="true"/>
   <dynamicField name="ws_*" type="text_ws" omitNorms="false" 
multiValued="false" stored="true"/>
-  
+
+  <dynamicField name="*_i"  type="tint" indexed="true"  stored="true"/>
+  <dynamicField name="*_is" type="tints" indexed="true"  stored="true"/>
+  <dynamicField name="*_s"  type="string" indexed="true"  stored="true" />
+  <dynamicField name="*_ss" type="strings" indexed="true"  stored="true"/>
+  <dynamicField name="*_l"  type="tlong" indexed="true"  stored="true"/>
+  <dynamicField name="*_ls" type="tlongs" indexed="true"  stored="true"/>
+  <dynamicField name="*_t" type="text_std_token_lower_case" indexed="true" 
stored="true" multiValued="false"/>
+  <dynamicField name="*_txt" type="text_std_token_lower_case" indexed="true" 
stored="true"/>
+  <dynamicField name="*_b"  type="boolean" indexed="true" stored="true"/>
+  <dynamicField name="*_bs" type="booleans" indexed="true" stored="true"/>
+  <dynamicField name="*_f"  type="tfloat" indexed="true"  stored="true"/>
+  <dynamicField name="*_fs" type="tfloats" indexed="true"  stored="true"/>
+  <dynamicField name="*_d"  type="tdouble" indexed="true"  stored="true"/>
+  <dynamicField name="*_ds" type="tdoubles" indexed="true"  stored="true"/>
+  <dynamicField name="random_*" type="random"/>
+
 </schema>
diff --git 
a/ambari-logsearch/ambari-logsearch-server/src/main/configsets/hadoop_logs/conf/managed-schema
 
b/ambari-logsearch/ambari-logsearch-server/src/main/configsets/hadoop_logs/conf/managed-schema
index 9fb0cf7..f917a86 100644
--- 
a/ambari-logsearch/ambari-logsearch-server/src/main/configsets/hadoop_logs/conf/managed-schema
+++ 
b/ambari-logsearch/ambari-logsearch-server/src/main/configsets/hadoop_logs/conf/managed-schema
@@ -16,30 +16,36 @@
  limitations under the License.
 -->
 
-<!-- Solr managed schema - automatically generated - DO NOT EDIT -->
-<schema name="hadoop-logs-schema" version="1.5">
+<schema name="hadoop-logs-schema" version="1.6">
   <uniqueKey>id</uniqueKey>
   <fieldType name="binary" class="solr.BinaryField"/>
   <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/>
   <fieldType name="booleans" class="solr.BoolField" sortMissingLast="true" 
multiValued="true"/>
-  <fieldType name="date" class="solr.TrieDateField" positionIncrementGap="0" 
precisionStep="0"/>
-  <fieldType name="double" class="solr.TrieDoubleField" 
positionIncrementGap="0" precisionStep="0"/>
-  <fieldType name="float" class="solr.TrieFloatField" positionIncrementGap="0" 
precisionStep="0"/>
-  <fieldType name="ignored" class="solr.StrField" indexed="false" 
stored="false" multiValued="true"/>
-  <fieldType name="int" class="solr.TrieIntField" positionIncrementGap="0" 
precisionStep="0"/>
+  <fieldType name="date" class="solr.DatePointField"/>
+  <fieldType name="double" class="solr.DoublePointField" docValues="true"/>
+  <fieldType name="float" class="solr.FloatPointField" docValues="true"/>
+  <fieldType name="long" class="solr.LongPointField" docValues="true"/>
+  <fieldType name="ignored" class="solr.StrField" indexed="false" 
stored="false" multiValued="true" docValues="true"/>
+  <fieldType name="int" class="solr.IntPointField"/>
   <fieldType name="ip_address" class="solr.TextField">
     <analyzer>
       <tokenizer class="solr.PathHierarchyTokenizerFactory" replace="." 
delimiter="."/>
     </analyzer>
   </fieldType>
   <fieldType name="logLevel" class="solr.EnumField" 
enumsConfig="enumsConfig.xml" enumName="log_levels"/>
-  <fieldType name="long" class="solr.TrieLongField" positionIncrementGap="0" 
precisionStep="0"/>
   <fieldType name="random" class="solr.RandomSortField" indexed="true"/>
-  <fieldType name="string" class="solr.StrField" sortMissingLast="true"/>
-  <fieldType name="tdate" class="solr.TrieDateField" positionIncrementGap="0" 
precisionStep="6"/>
-  <fieldType name="tdates" class="solr.TrieDateField" positionIncrementGap="0" 
multiValued="true" precisionStep="6"/>
-  <fieldType name="tdouble" class="solr.TrieDoubleField" 
positionIncrementGap="0" precisionStep="8"/>
-  <fieldType name="tdoubles" class="solr.TrieDoubleField" 
positionIncrementGap="0" multiValued="true" precisionStep="8"/>
+  <fieldType name="string" class="solr.StrField" sortMissingLast="true" 
docValues="true"/>
+  <fieldType name="strings" class="solr.StrField" sortMissingLast="true" 
multiValued="true" docValues="true"/>
+  <fieldType name="tdate" class="solr.DatePointField" docValues="true"/>
+  <fieldType name="tdates" class="solr.DatePointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tdouble" class="solr.DoublePointField" docValues="true"/>
+  <fieldType name="tdoubles" class="solr.DoublePointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tfloat" class="solr.FloatPointField" docValues="true"/>
+  <fieldType name="tfloats" class="solr.FloatPointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tint" class="solr.IntPointField" docValues="true"/>
+  <fieldType name="tints" class="solr.IntPointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tlong" class="solr.LongPointField" docValues="true"/>
+  <fieldType name="tlongs" class="solr.LongPointField" multiValued="true" 
docValues="true"/>
   <fieldType name="text_general" class="solr.TextField" 
positionIncrementGap="100" multiValued="true">
     <analyzer>
       <tokenizer class="solr.StandardTokenizerFactory"/>
@@ -52,18 +58,17 @@
       <filter class="solr.LowerCaseFilterFactory"/>
     </analyzer>
   </fieldType>
-  <fieldType name="key_lower_case" class="solr.TextField"
-               sortMissingLast="true" omitNorms="true">
+  <fieldType name="lowercase" class="solr.TextField" sortMissingLast="true" 
omitNorms="true">
       <analyzer>
         <tokenizer class="solr.KeywordTokenizerFactory"/>
         <filter class="solr.LowerCaseFilterFactory" />
       </analyzer>
-    </fieldType>
-  <fieldType name="text_std_token_lower_case" class="solr.TextField" 
positionIncrementGap="100" multiValued="true">
-    <analyzer>
-      <tokenizer class="solr.StandardTokenizerFactory"/>
-      <filter class="solr.LowerCaseFilterFactory"/>
-    </analyzer>
+  </fieldType>
+  <fieldType name="classic_text_general" class="solr.TextField" 
positionIncrementGap="100" multiValued="true">
+     <analyzer>
+        <tokenizer class="solr.ClassicTokenizerFactory"/>
+        <filter class="solr.LowerCaseFilterFactory"/>
+      </analyzer>
   </fieldType>
   <fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
     <analyzer>
@@ -71,53 +76,64 @@
       <filter class="solr.LowerCaseFilterFactory"/>
     </analyzer>
   </fieldType>
-  <fieldType name="tfloat" class="solr.TrieFloatField" 
positionIncrementGap="0" precisionStep="8"/>
-  <fieldType name="tfloats" class="solr.TrieFloatField" 
positionIncrementGap="0" multiValued="true" precisionStep="8"/>
-  <fieldType name="tint" class="solr.TrieIntField" positionIncrementGap="0" 
precisionStep="8"/>
-  <fieldType name="tints" class="solr.TrieIntField" positionIncrementGap="0" 
multiValued="true" precisionStep="8"/>
-  <fieldType name="tlong" class="solr.TrieLongField" positionIncrementGap="0" 
precisionStep="8"/>
-  <fieldType name="tlongs" class="solr.TrieLongField" positionIncrementGap="0" 
multiValued="true" precisionStep="8"/>
+
   <field name="@timestamp" type="tdate" multiValued="false" stored="false"/>
-  <field name="@version" type="long" multiValued="false" indexed="true" 
stored="false"/>
-  <field name="_version_" type="long" indexed="true" stored="true"/>
+  <field name="@version" type="long" multiValued="false" indexed="false" 
stored="false"/>
+  <field name="_version_" type="long" indexed="false" stored="true"/>
   <field name="_expire_at_" type="tdate" stored="true"  multiValued="false"/>
   <field name="_ttl_" type="string" indexed="true" stored="true" 
multiValued="false"/>
   <field name="_router_field_" type="int" indexed="false" stored="false" 
multiValued="false"/>
-  
-  <field name="bundle_id" type="key_lower_case" multiValued="false"/>
-  <field name="case_id" type="key_lower_case" multiValued="false"/>
-  <field name="cluster" type="key_lower_case" multiValued="false"/>
+
+  <field name="bundle_id" type="lowercase" multiValued="false"/>
+  <field name="case_id" type="lowercase" multiValued="false"/>
+  <field name="cluster" type="lowercase" multiValued="false"/>
   <field name="event_count" type="tlong" multiValued="false" docValues="true" 
default="1"/>
   <field name="event_dur_ms" type="tlong" multiValued="false" 
docValues="true"/>
   <field name="event_md5" type="string" multiValued="false"/>
-  <field name="file" type="key_lower_case" multiValued="false"/>
-  <field name="host" type="key_lower_case" multiValued="false"/>
+  <field name="file" type="lowercase" multiValued="false"/>
+  <field name="host" type="lowercase" multiValued="false"/>
   <field name="id" type="string" multiValued="false" indexed="true" 
required="true" stored="true"/>
   <field name="ip" type="string" multiValued="false"/>
-  <field name="level" type="key_lower_case" multiValued="false"/>
+  <field name="level" type="lowercase" multiValued="false"/>
   <field name="line_number" type="tint" omitNorms="false"/>
-  <field name="log_message" type="text_std_token_lower_case" 
multiValued="false" omitNorms="false"/>
+  <field name="log_message" type="text_general" multiValued="false" 
omitNorms="false"/>
   <field name="logfile_line_number" type="tint" omitNorms="false"/>
-  <field name="logger_name" type="key_lower_case" multiValued="false"/>
+  <field name="logger_name" type="string" multiValued="false"/>
   <field name="logtime" type="tdate" multiValued="false"  docValues="true"/>
-  <field name="logtype" type="key_lower_case" multiValued="false"/>
+  <field name="logtype" type="lowercase" multiValued="false"/>
   <field name="message_md5" type="string" multiValued="false"/>
-  <field name="method" type="key_lower_case" multiValued="false" 
omitNorms="false"/>
-  <field name="path" type="key_lower_case" multiValued="false"/>
-  <field name="rowtype" type="key_lower_case" multiValued="false"/>
+  <field name="method" type="string" multiValued="false" omitNorms="false"/>
+  <field name="path" type="lowercase" multiValued="false"/>
+  <field name="rowtype" type="string" multiValued="false"/>
   <field name="seq_num" type="tlong" multiValued="false" omitNorms="false"/>
-  <field name="tags" type="key_lower_case" multiValued="true"/>
-  <field name="text" type="text_std_token_lower_case" multiValued="true" 
indexed="true" stored="false"/>
-  <field name="thread_name" type="key_lower_case" multiValued="false" 
omitNorms="false"/>
-  <field name="type" type="key_lower_case" multiValued="false"/>
+  <field name="tags" type="string" multiValued="true"/>
+  <field name="text" type="text_general" multiValued="true" indexed="true" 
stored="false"/>
+  <field name="thread_name" type="string" multiValued="false" 
omitNorms="false"/>
+  <field name="type" type="string" multiValued="false"/>
   <field name="group" type="string" multiValued="false" docValues="true" 
stored="true"/>
-  
+
   <dynamicField name='ngram_*' type="n_gram" multiValued="false" 
stored="false"/>
-  <dynamicField name='std_*' type="text_std_token_lower_case" 
multiValued="false" stored="false"/>
-  <dynamicField name='key_*' type="key_lower_case" multiValued="false" 
stored="false"/>
+  <dynamicField name='std_*' type="text_general" multiValued="false" 
stored="false"/>
+  <dynamicField name='key_*' type="lowercase" multiValued="false" 
stored="false"/>
   <dynamicField name="ws_*" type="text_ws" multiValued="false" 
omitNorms="false" stored="false"/>
   <dynamicField name="sdi_*" type="text_ws" omitNorms="false" 
multiValued="false" stored="true"/>
 
+  <dynamicField name="*_i"  type="tint" indexed="true"  stored="true"/>
+  <dynamicField name="*_is" type="tints" indexed="true"  stored="true"/>
+  <dynamicField name="*_s"  type="string" indexed="true"  stored="true" />
+  <dynamicField name="*_ss" type="strings" indexed="true"  stored="true"/>
+  <dynamicField name="*_l"  type="tlong" indexed="true"  stored="true"/>
+  <dynamicField name="*_ls" type="tlongs" indexed="true"  stored="true"/>
+  <dynamicField name="*_t" type="text_general" indexed="true" stored="true" 
multiValued="false"/>
+  <dynamicField name="*_txt" type="text_general" indexed="true" stored="true"/>
+  <dynamicField name="*_b"  type="boolean" indexed="true" stored="true"/>
+  <dynamicField name="*_bs" type="booleans" indexed="true" stored="true"/>
+  <dynamicField name="*_f"  type="tfloat" indexed="true"  stored="true"/>
+  <dynamicField name="*_fs" type="tfloats" indexed="true"  stored="true"/>
+  <dynamicField name="*_d"  type="tdouble" indexed="true"  stored="true"/>
+  <dynamicField name="*_ds" type="tdoubles" indexed="true"  stored="true"/>
+  <dynamicField name="random_*" type="random"/>
+
   <copyField source="log_message" dest="key_log_message"/>
 
 </schema>
diff --git 
a/ambari-logsearch/ambari-logsearch-server/src/main/configsets/history/conf/managed-schema
 
b/ambari-logsearch/ambari-logsearch-server/src/main/configsets/history/conf/managed-schema
index 8d4da03..3e3c8dd 100644
--- 
a/ambari-logsearch/ambari-logsearch-server/src/main/configsets/history/conf/managed-schema
+++ 
b/ambari-logsearch/ambari-logsearch-server/src/main/configsets/history/conf/managed-schema
@@ -17,31 +17,38 @@
 -->
 
 <!-- Solr managed schema - automatically generated - DO NOT EDIT -->
-<schema name="history" version="1.1">
+<schema name="history" version="1.6">
 
   <uniqueKey>id</uniqueKey>
-  
+
   <fieldType name="binary" class="solr.BinaryField"/>
   <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/>
   <fieldType name="booleans" class="solr.BoolField" sortMissingLast="true" 
multiValued="true"/>
-  <fieldType name="date" class="solr.TrieDateField" positionIncrementGap="0" 
precisionStep="0"/>
-  <fieldType name="double" class="solr.TrieDoubleField" 
positionIncrementGap="0" precisionStep="0"/>
-  <fieldType name="float" class="solr.TrieFloatField" positionIncrementGap="0" 
precisionStep="0"/>
+  <fieldType name="date" class="solr.DatePointField" docValues="true"/>
+  <fieldType name="double" class="solr.DoublePointField" docValues="true"/>
+  <fieldType name="float" class="solr.FloatPointField" docValues="true"/>
   <fieldType name="ignored" class="solr.StrField" indexed="false" 
stored="false" multiValued="true"/>
-  <fieldType name="int" class="solr.TrieIntField" positionIncrementGap="0" 
precisionStep="0"/>
+  <fieldType name="int" class="solr.TrieIntField"/>
   <fieldType name="ip_address" class="solr.TextField">
     <analyzer>
       <tokenizer class="solr.PathHierarchyTokenizerFactory" replace="." 
delimiter="."/>
     </analyzer>
   </fieldType>
-  <fieldType name="long" class="solr.TrieLongField" positionIncrementGap="0" 
precisionStep="0"/>
-  <fieldType name="random" class="solr.RandomSortField" indexed="true"/>
-  <fieldType name="string" class="solr.StrField" sortMissingLast="true"/>
-  <fieldType name="tdate" class="solr.TrieDateField" positionIncrementGap="0" 
precisionStep="6"/>
-  <fieldType name="tdates" class="solr.TrieDateField" positionIncrementGap="0" 
multiValued="true" precisionStep="6"/>
-  <fieldType name="tdouble" class="solr.TrieDoubleField" 
positionIncrementGap="0" precisionStep="8"/>
-  <fieldType name="tdoubles" class="solr.TrieDoubleField" 
positionIncrementGap="0" multiValued="true" precisionStep="8"/>
-  <fieldType name="text_general" class="solr.TextField" 
positionIncrementGap="100" multiValued="true">
+  <fieldType name="long" class="solr.LongPointField" docValues="true"/>
+  <fieldType name="random" class="solr.RandomSortField" indexed="true" 
docValues="true"/>
+  <fieldType name="string" class="solr.StrField" sortMissingLast="true" 
docValues="true"/>
+  <fieldType name="strings" class="solr.StrField" sortMissingLast="true" 
multiValued="true" docValues="true"/>
+  <fieldType name="tdate" class="solr.DatePointField" docValues="true"/>
+  <fieldType name="tdates" class="solr.DatePointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tdouble" class="solr.DoublePointField"/>
+  <fieldType name="tdoubles" class="solr.TrieDoubleField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tfloat" class="solr.FloatPointField" docValues="true"/>
+  <fieldType name="tfloats" class="solr.FloatPointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tint" class="solr.IntPointField" docValues="true"/>
+  <fieldType name="tints" class="solr.IntPointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="tlong" class="solr.LongPointField" docValues="true"/>
+  <fieldType name="tlongs" class="solr.LongPointField" multiValued="true" 
docValues="true"/>
+  <fieldType name="text_general" class="solr.TextField" multiValued="true">
     <analyzer>
       <tokenizer class="solr.StandardTokenizerFactory"/>
       <filter class="solr.LowerCaseFilterFactory"/>
@@ -53,8 +60,7 @@
       <filter class="solr.LowerCaseFilterFactory"/>
     </analyzer>
   </fieldType>
-  <fieldType name="key_lower_case" class="solr.TextField"
-               sortMissingLast="true" omitNorms="true">
+  <fieldType name="key_lower_case" class="solr.TextField" 
sortMissingLast="true" omitNorms="true">
       <analyzer>
         <tokenizer class="solr.KeywordTokenizerFactory"/>
         <filter class="solr.LowerCaseFilterFactory" />
@@ -72,14 +78,8 @@
       <filter class="solr.LowerCaseFilterFactory"/>
     </analyzer>
   </fieldType>
-  <fieldType name="tfloat" class="solr.TrieFloatField" 
positionIncrementGap="0" precisionStep="8"/>
-  <fieldType name="tfloats" class="solr.TrieFloatField" 
positionIncrementGap="0" multiValued="true" precisionStep="8"/>
-  <fieldType name="tint" class="solr.TrieIntField" positionIncrementGap="0" 
precisionStep="8"/>
-  <fieldType name="tints" class="solr.TrieIntField" positionIncrementGap="0" 
multiValued="true" precisionStep="8"/>
-  <fieldType name="tlong" class="solr.TrieLongField" positionIncrementGap="0" 
precisionStep="8"/>
-  <fieldType name="tlongs" class="solr.TrieLongField" positionIncrementGap="0" 
multiValued="true" precisionStep="8"/>
 
-  <field name="_version_" type="long" indexed="true" stored="true"/>
+  <field name="_version_" type="long" indexed="false" stored="true"/>
   <field name="filtername" type="key_lower_case" indexed="true" 
required="true" stored="true"/>
   <field name="id" type="string" required="true"/>
   <field name="jsons" type="string"/>
@@ -92,5 +92,4 @@
   <dynamicField name='std_*' type="text_std_token_lower_case" 
multiValued="false" stored="false"/>
   <dynamicField name="*_string" type="string" multiValued="true" 
indexed="true" stored="true"/>
 
-
 </schema>

-- 
To stop receiving notification emails like this one, please contact
oleew...@apache.org.

Reply via email to