Hi,
Standard analyzer can't split words by a dot, and simple analyzer filter out the numbers.
I want to split words by dot and reserve numbers, which analyzer should I use?
Example:
"google.com 123" => ["google", "com", "123"]
thanks.
Hi,
Standard analyzer can't split words by a dot, and simple analyzer filter out the numbers.
I want to split words by dot and reserve numbers, which analyzer should I use?
Example:
"google.com 123" => ["google", "com", "123"]
thanks.
Take a look at the pattern tokenizer:
https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-pattern-tokenizer.html
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.