uschindler commented on a change in pull request #480:
URL: https://github.com/apache/lucene/pull/480#discussion_r757773262
##########
File path:
lucene/luke/src/java/org/apache/lucene/luke/models/analysis/AnalysisImpl.java
##########
@@ -152,6 +152,14 @@ public Analyzer createAnalyzerFromClassName(String
analyzerType) {
}
}
+ private Analyzer defaultAnalyzer() {
+ try {
+ return CustomAnalyzer.builder().withTokenizer("standard").build();
Review comment:
I know. But the problem is that you need analysis-common in
classpath/modpath, which (may not be the case).
The method does return Analyzer, so why not default to it for
initialization. Once the user configured his own, all fine. No need to revert
back.
--
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]