Shingle token


(Obe La) #1

Hi Everyone,

I want use Shingle token to analyze the string "The quick brown fox jumps over the lazy dog" into:
1.The
2.The quick
...
n. The quick brown fox jumps over the lazy dog

I need help.
Thanks.


(Mark Walkom) #2

What have you tried?
Have you read https://www.elastic.co/blog/searching-with-shingles (which is a bit old, but the core of it is still accurate) or https://www.elastic.co/guide/en/elasticsearch/guide/current/shingles.html#shingles?


(system) #3