momo0313 opened a new issue #4893:
URL: https://github.com/apache/skywalking/issues/4893
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ ] Question or discussion
- [ ] Bug
- [x] Requirement
- [ ] Feature or performance improvement
___
### Requirement or improvement
- Please describe about your requirements or improvement suggestions.
Skywalking version 6.6 with Elasticsearch 6.8 for storage.
Firstly, on the "trace" page of skywaking UI,try to search a endpoint name
like "/xnv/abc_def/QW030384" , and the results are not expected, something like:
```
/xnv/abc_def/QW051234
/xnv/abc_def/QW051235
...
```
Secondly, try to analyzer the above endpoint name with the default
oap_analyzer using kibana devtool:
```bash
GET sw_segment-20200610/_analyze
{
"text": "/xnv/abc_def/QW030384",
"analyzer" : "oap_analyzer"
}
```
the results are:
```
{
"tokens" : [
{
"token" : "xnv",
"start_offset" : 1,
"end_offset" : 4,
"type" : "word",
"position" : 0
},
{
"token" : "abc",
"start_offset" : 5,
"end_offset" : 8,
"type" : "word",
"position" : 1
},
{
"token" : "def",
"start_offset" : 9,
"end_offset" : 12,
"type" : "word",
"position" : 2
},
{
"token" : "qw",
"start_offset" : 13,
"end_offset" : 15,
"type" : "word",
"position" : 3
}
]
}
```
The above results say that, with the oap_analyzer, the endpoint name
"/xnv/abc_def/QW030384" is analyzed to some tokens: "xnv" "abc" "def" "qw",
**the numbers in the endpoint name are ignored.**
----------------------------------------------------------------
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]