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

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


The following commit(s) were added to refs/heads/master by this push:
     new 97e9281  Limit max length of tokens (Solr string) (#52)
97e9281 is described below

commit 97e92814edc3ddc105147d5115c31ed87b0fa557
Author: Olivér Szabó <oleew...@gmail.com>
AuthorDate: Mon Dec 3 14:09:10 2018 +0100

    Limit max length of tokens (Solr string) (#52)
---
 .../src/main/configsets/hadoop_logs/conf/managed-schema                  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/ambari-logsearch-server/src/main/configsets/hadoop_logs/conf/managed-schema 
b/ambari-logsearch-server/src/main/configsets/hadoop_logs/conf/managed-schema
index 168427e..bcc11ea 100644
--- 
a/ambari-logsearch-server/src/main/configsets/hadoop_logs/conf/managed-schema
+++ 
b/ambari-logsearch-server/src/main/configsets/hadoop_logs/conf/managed-schema
@@ -61,6 +61,7 @@
   <fieldType name="lowercase" class="solr.TextField" sortMissingLast="true" 
omitNorms="true">
       <analyzer>
         <tokenizer class="solr.KeywordTokenizerFactory"/>
+        <filter class="solr.LengthFilterFactory" min="0" max="20000"/>
         <filter class="solr.LowerCaseFilterFactory" />
       </analyzer>
   </fieldType>

Reply via email to