I solved something similar to this by creating a "stemmer" for part
numbers. Variations like "-BN" on the end can be treated as inflections
in the part number language, similar to plurals in English.
I used a set of regexes to match and transform, in some cases generating
multiple "root" part numb
: It looks alot like using Solr's standard "WordDelimiterFilter" (see the
: sample schema.xml) does what you need.
WordDelimiterFilter will only get you so far. it can split the indexed
text of "3555LHP" into tokens "3555" and "LHP"; and the user entered
"D3555" into the tokens "D" and "3555" --
ersTokenFilters#head-1c9b83870ca7890cd73b193cefed83c283339089
-- Christian
-Ursprüngliche Nachricht-
Von: Frans Flippo [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 31. Mai 2007 11:27
An: solr-user@lucene.apache.org
Betreff: Re: SOLR Indexing/Querying
I think if you add a field that
Keyword Typed In / We want it to find
D3555 / 3555LHP
D460160-BN / D460160
D460160BN / D460160
Dd454557 / D454557
84200ORB / 84200
84200-ORB / 84200
T13420-SCH / T13420
t14240-ss / t14240
--
View this message in context:
http://www.nabble.com/SOLR-Indexing-Querying-tf3843221.html#a10883456
Sent from the Solr - User mailing list archive at Nabble.com.
84200
T13420-SCH / T13420
t14240-ss / t14240
--
View this message in context:
http://www.nabble.com/SOLR-Indexing-Querying-tf3843221.html#a10883456
Sent from the Solr - User mailing list archive at Nabble.com.