Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
7.2
-
None
-
None
Description
As reported on the Solr user mailing list by Tom Van Cuyck:
The UAX29 URL Email Tokenizer is not working as expected.
According to the documentation (
https://lucene.apache.org/solr/guide/7_2/tokenizers.html): "Words are split
at hyphens, unless there is a number in the word, in which case the token
is not split and the numbers and hyphen(s) are preserved."
So I expect "ABC-123" to remain "ABC-123"
However the term is split in 2 separate tokens "ABC" and "123".
Same for "AB12-CD34" --> "AB12" and "CD34" etc...
Is this behavior to be expected? Or is there a way to get the behavior I
expect?