xiangfu0 commented on code in PR #20455:
URL: https://github.com/apache/pinot/pull/20455#discussion_r4795743087
##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/store/TextIndexUtils.java:
##########
@@ -506,7 +506,7 @@ public static Constructor<QueryParserBase>
getQueryParserWithStringAndAnalyzerTy
String queryParserClassName)
throws ReflectiveOperationException {
// Fail-fast if the query parser is specified class is not QueryParseBase
class
- Class<?> queryParserClass = Class.forName(queryParserClassName);
+ Class<?> queryParserClass = Class.forName(queryParserClassName, false,
TextIndexUtils.class.getClassLoader());
Review Comment:
Removed both unused Lucene parser lookups in f8fcd87a9c. Each of the three
factories now has a test that rejects an unrelated type before initialization.
All 12 focused tests passed locally.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]