lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Solr schema filters
Date Thu, 17 Jan 2008 05:04:09 GMT
: 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


Mime
View raw message