Thank you Jack, yes it is tricky.

If my text is

x20-y30

I get two nice tokens x20 & y30 that I need to keep.

But the text 20x-30y is treated differently and I get nothing.

20x-y30 gives me just 'y30'

The docs on LucidWorks say

generateNumberParts: (integer, default 1) If non-zero, splits numeric
strings at delimiters:"1947-32" ->"1947", "32"

It looks like any 'word' that starts with a digit is treated as a numeric
string.

Setting generateNumberParts="1" in stead of "0" seems to generate the right
tokens in this case but need to see if it has any other impacts on the
finalized token list...

Thanks

- ashok





--
View this message in context: 
http://lucene.472066.n3.nabble.com/WordDelimiterFactory-tp4056529p4056544.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to