Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
5.2, 6.0
-
None
-
None
Description
The LangDetect wrapper code incorrectly uses the maxTotalChars param [1] to configure the max field length in the LangDetect library [2]
[1] https://svn.apache.org/viewvc/lucene/dev/trunk/solr/contrib/langid/src/java/org/apache/solr/update/processor/LangDetectLanguageIdentifierUpdateProcessor.java?annotate=1643377#l51
[2] https://github.com/shuyo/language-detection/blob/master/src/com/cybozu/labs/langdetect/Detector.java#L170