chenboat commented on code in PR #13003: URL: https://github.com/apache/pinot/pull/13003#discussion_r1681443808
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/store/TextIndexUtils.java: ########## @@ -108,10 +113,140 @@ private static List<String> parseEntryAsString(@Nullable Map<String, String> col .collect(Collectors.toList()); } - public static Analyzer getAnalyzerFromClassName(String luceneAnalyzerClass) - throws ReflectiveOperationException { - // Support instantiation with default constructor for now unless customized - return (Analyzer) Class.forName(luceneAnalyzerClass).getConstructor().newInstance(); + public static Analyzer getAnalyzer(TextIndexConfig config) throws ReflectiveOperationException { Review Comment: Please add java doc to describe the behaviour of this method. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org