The way we do this is with the Solr 1.2 (the current release), inspired by a discussion on the ML, is to build a spellcheck dictionary with the relevant collocations such as the one in your example, based on a custom field that is effectively not tokenized. We actually create dummy documents for this, since each true document may give rise to more than one such dictionary entry.
A potential downside of this approach is that, depending on the length of the dictionary entries, queries that only specify a small subset of a particular entry may not match. There have been many useful revisions to the spellchecker in the 1.3-dev branch, so check there first. jds On Jan 4, 2008 7:15 PM, anuvenk <[EMAIL PROTECTED]> wrote: > > Is it possible to implement something like this with the spellcheckhandler > > Like how google does,.. > > say i search for 'chater 13 bakrupcy', > > should be able to display these.. > > did you search for 'chapter 13 bankruptcy' > > Has someone been able to do this? > -- > View this message in context: > http://www.nabble.com/spellcheckhandler-tp14627712p14627712.html > Sent from the Solr - User mailing list archive at Nabble.com. > >