EvanLjp commented on a change in pull request #6249:
URL: https://github.com/apache/skywalking/pull/6249#discussion_r563314349
##########
File path:
oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/StorageEsInstaller.java
##########
@@ -113,14 +115,32 @@ protected void createTable(Model model) throws
StorageException {
setting.put("index.refresh_interval", model.isRecord()
? TimeValue.timeValueSeconds(10).toString()
:
TimeValue.timeValueSeconds(config.getFlushInterval()).toString());
- setting.put("analysis.analyzer.oap_analyzer.type", "stop");
+ setting.put("analysis", getAnalyzerSetting(model.getAnalyzer()));
Review comment:
Maybe only used in the log mode. So you want to differentiate based on
type? That means we maybe need a new annotation. Is it a little heavier than
now?
----------------------------------------------------------------
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:
[email protected]