mmoreram
(Marc Morera Merino)
July 20, 2021, 1:21pm
1
In Elasticsearch, edge n-gram divides a word into progressive tokens, starting from the begining, and adding a new letter per each token.
Is there a way to add the same logic at word level?
"This is a sentence"
["This", "This is", "This is a", "This is a sentence"]
Thanks
dadoonet
(David Pilato)
July 20, 2021, 1:40pm
2
Have a look at Shingle token filter | Elasticsearch Guide [7.13] | Elastic but it's more a ngram like than a edge n gram.
mmoreram
(Marc Morera Merino)
July 20, 2021, 1:47pm
3
Thanks for answering, David.
Yes. Shingle acts as an n-gram filter, but I'd like to make it edge n-gram style.
edge shingle
system
(system)
Closed
August 17, 2021, 1:48pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.