momo0313 edited a comment on issue #4893: URL: https://github.com/apache/skywalking/issues/4893#issuecomment-658591759
With some more research, the "pattern analyzer" may NOT be a good choice. As described in [pattern analyzer](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-pattern-analyzer.html), it uses Java Regular Expressions. We have to think about the performance, further more, a badly written regular expression could run very slowly or even throw a StackOverflowError and cause the node it is running on to exit suddenly. Actually, I don't have good idea about this issue now. I'm inclined to support the both "fuzzy" and "accurate" type query. If the user have no background knowledges of the analyzer of Elasticsearch, they can choose "accurate" type, input the complete endpoint to query and then get the accurate result, otherwise, they can choose the fuzzy type as 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]
