How to set max string length in Solr configuration
<p>while indexing with SolrJ, I was able to find that, one of my data was impossible to index. Because the length of data(String) was more then 20000.
with my googling,  was used for the length(before Solr 4.x) and it is now used with . hence I just applied it to my Solr but still it is not working.</p>

<p>if anyone know, how to increase string length in Solr5. please give me your advices.</p>

<p>below sudo code is my part of Schema.</p>

<pre><code>&lt;field name ="description" type="text_general" indexed="true" stored="false" required="false" /&gt;

&lt;fieldType name="text_general" class="solr.TextField" positionIncrementGap="100"&gt;

&lt;analyzer type="index"&gt;
&lt;tokenizer class= " ..." /&gt;
&lt;filter class= ".. " /&gt;
...
&lt;filter class="solr.LimitTokenCountFilterFactory" maxToeknCount="100000" /&gt;
&lt;/analyzer&gt;

 &lt;analyzer type ="query"&gt;
   ...
   ...
  &lt;filter class="solr.LimitTokenCountFilterFactory" maxToeknCount="100000" /&gt;
</code></pre>