Challenges: Analyzers
Test your knowledge of analyzers.
Challenge 1: Prefix generator analyzer
Define a custom analyzer called the prefix_generator_analyzer
in an index called challenge_1
. The analyzer should produce the prefixes for each word in the input text. Specifically, the analyzer should be able to process the text "hello world"
and generate the prefixes of the words "hello"
and "world"
, which are:
Get hands-on with 1400+ tech skills courses.