lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashok <>
Subject Re: WordDelimiterFactory
Date Wed, 17 Apr 2013 02:12:56 GMT
Thank you Jack, yes it is tricky.

If my text is


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

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...


- ashok

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message