magibney commented on issue #892: LUCENE-8972: Add ICUTransformCharFilter, to support pre-tokenizer ICU text transformation URL: https://github.com/apache/lucene-solr/pull/892#issuecomment-537601926 Tried this out, and the performance gain was indeed significant. Comparing apples to apples here: [charFilterPerformanceTest2.txt](https://github.com/apache/lucene-solr/files/3682491/charFilterPerformanceTest2.txt) Results (again, very quick and dirty): ``` [junit4] Suite: org.apache.lucene.analysis.icu.TestICUTransformCharFilter [junit4] 2> tokenCount: 1000000, elapsed: 20244 [junit4] OK 20.6s | TestICUTransformCharFilter.testFilterPerformanceChar [junit4] 2> tokenCount: 1000000, elapsed: 3040 [junit4] OK 3.05s | TestICUTransformCharFilter.testFilterPerformanceToken [junit4] 2> tokenCount: 1000000, elapsed: 4339 [junit4] OK 4.36s | TestICUTransformCharFilter.testFilterPerformanceModifiedChar ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org