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
Have a look at Shingle token filter | Elasticsearch Guide [7.13] | Elastic but it's more a ngram like than a edge n gram.
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
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.