momo0313 commented on issue #4893:
URL: https://github.com/apache/skywalking/issues/4893#issuecomment-642448872


   > I think this is the rule we are using 
`setting.put("analysis.analyzer.oap_analyzer.type", "stop")` in 
`StorageEsInstaller#createSetting`. I didn't write these codes, could you do a 
little more research about the difference? Then we could have a more reasonable 
choice.
   
   We can refer to 
[analysis-stop-analyzer](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-stop-analyzer.html)
 and 
[analysis-standard-analyzer](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-standard-analyzer.html)
  to get the difference of the "stop" and the "standard" type analyzer.
   
   In short the "standard" type analyzer will not ignore the numbers, and in 
this case we can query by numbers in the endpoint name.
   
   It's indeed a matter of choice, but I tend to choose the "standard" 
analyzer.  We usually query  with a complete endpoint name, it is confused that 
the results are not matching the numbers in the querying string.


----------------------------------------------------------------
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]


Reply via email to