Hi,


I’ve noticed some odd token parsing by the StandardAnalyzer when using
slash(‘/’).

Below are four examples where I think there is error in one of them.



1. ab -> [ab]

2. /ab -> [ab]

3. a/b -> [b]

4. ab/ -> [ab]

5. aa/b -> [aa] [b]
6. a/bb - > [bb]
7. aa/bb -> [aa][bb]



Can someone explain to me why example 3 is returning [b] and not [ab], and
why example 6 is returning [bb] instead of [a] [bb]?



Furthermore I would like to know how to make the slash character searchable
by not removing it in the token parsing by the StandardAnalyzer.



Thanks for listening!

Reply via email to