mocobeta commented on PR #850: URL: https://github.com/apache/lucene/pull/850#issuecomment-1112791650
I traced method calls of `BaseTokenStreamTestCase.checkRandomData(Random random, Analyzer a, int iterations, int maxWordLength)` with larger values than 255 for `maxWordLength`. Those might also need larger `maxTokenLength`; I don't know whether they must be changed or the reduced default value is okay, but just in case... ``` TestShingleFilter.testRandomHugeStrings() TestICUNormalizer2CharFilter.testRandomStringsNFKC() TestICUNormalizer2CharFilter.testRandomStringsNFKC_CF() TestICUNormalizer2CharFilter.testRandomStringsNFKD() TestSynonymMapFilter.testRandomHuge() TestHTMLStripCharFilter.testRandomHugeStrings() TestLookaheadTokenFilter.testRandomStrings() TestLookaheadTokenFilter.testNeverCallingPeek() TestSynonymGraphFilter.testRandomHuge() ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org