Because you told it to!!! With: generateNumberParts="0"
WDF is tricky... tell us exactly what rules you want it to follow and then
we can tell you how to set the options.
Maybe more to the point: why exactly do you think you want it use WDF? Not
that there aren't good reasons, but what specifically are yours?
Generally, see the schema in the Solr example for suggested best practices.
Copy and paste from there, or, better yet, use exactly the types that are
there.
-- Jack Krupansky
-----Original Message-----
From: Ashok
Sent: Tuesday, April 16, 2013 7:52 PM
To: solr-user@lucene.apache.org
Subject: WordDelimiterFactory
Hi,
Why does WDF swallow all 'words' that start with a 'digit'?
My config is:
<filter class="solr.WordDelimiterFilterFactory" generateNumberParts="0"
splitOnNumerics="0" splitOnCaseChange="0" preserveOriginal="0"
protected="protwords.txt"/>
For some text like
20x-30y
I am expecting (& want) '20x' & '30y' to be returned & retained as the
tokens after WDF is done with it. But I get nothing as per the analysis
page.
Any idea why? I am using 4.1
Thanks
- ashok
--
View this message in context:
http://lucene.472066.n3.nabble.com/WordDelimiterFactory-tp4056529.html
Sent from the Solr - User mailing list archive at Nabble.com.