Skip to main content
The alpha numeric only filter removes any tokens that contain characters that are not ASCII letters (i.e. a to z and A to Z) or digits (i.e. 0 to 9). It is supported for all tokenizers besides the literal tokenizer. To enable, append alpha_num_only=true to the tokenizer’s arguments.
To demonstrate this token filter, let’s compare the output of the following two statements:
Expected Response