: For this exact example, use the WordDelimiterFilter exactly as
: configured in the "text" fieldType in the example schema that ships
: with solr.  The trick is to then use some slop when querying.
: 
: FT-50-43 will be indexed as FT, 50, 43 / 5043  (the last two tokens
: are in the same position).
: Now when querying, "FT-5043" won't match without slop because there is
: a "50" token in the middle of the indexed terms... so try "FT-5043"~1

FYI: this was the motivation for the "qs" param on dismax ... 

http://localhost:8983/solr/select?debugQuery=true&qt=dismax&pf=&qf=text&q=FT-5043&qs=3


-Hoss

Reply via email to