-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter string and updated tests #109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of change in code, is it easier to do it in elastic ?
``
"index": {
"analysis": {
"filter": {
"remove_uuids": {
"type": "pattern_replace",
"pattern": "[a-fA-F0-9]{32}", // Regular expression to match UUIDs
"replacement": ""
},
"my_shingle_filter": {
"type": "shingle",
"min_shingle_size": 2,
"max_shingle_size": 3,
"output_unigrams": true
}
},
"analyzer": {
"my_analyzer": {
"type": "custom",
"tokenizer": "standard",
"filter": ["lowercase", "remove_uuids", "my_shingle_filter"]
}
}
}
Also pure number can be remove ?
|
And single char like "m" |
didn't think about that path, I'll try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please reload after deployed to edge thanks
4080519
to
8ad9f78
Compare
No description provided.