If you are using the Dismax query parser, perhaps could you take a look to the minimum should match parameter 'mm' :
http://wiki.apache.org/solr/DisMaxQParserPlugin#mm_.28Minimum_.27Should.27_Match.29 Ludovic. 2011/4/13 Mark Mandel [via Lucene] < ml-node+2815186-149863473-383...@n3.nabble.com> > Not sure if the title explains it all, or if what I want is even possible, > but figured I would ask. > > Say, I have a series of products I'm selling, and a search of: > > "Blue Wool Rugs" > > Comes in. This returns 0 results, as "Blue" and "Rugs" match terms that > are > indexes, "Wool" does not. > > Is there a way to configure my index/searchHandler, to either: > > (a) if no documents are returned, look to partial matches of the search > (e.g. return results with 'Blue rugs', in this case) > (b) add results to the overall search, but at a lower score, that have only > > *some* of the terms being searched in them (in this case, maybe 2/3) > > Is that even possible? > > Thanks, > > Mark > > -- > E: [hidden > email]<http://user/SendEmail.jtp?type=node&node=2815186&i=0&by-user=t> > T: http://www.twitter.com/neurotic > W: www.compoundtheory.com > > cf.Objective(ANZ) - Nov 17, 18 - Melbourne Australia > http://www.cfobjective.com.au > > Hands-on ColdFusion ORM Training > www.ColdFusionOrmTraining.com > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/Allowing-looser-matches-tp2815186p2815186.html > To start a new topic under Solr - User, email > ml-node+472068-1765922688-383...@n3.nabble.com > To unsubscribe from Solr - User, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=Ym91dHJvc2xAZ21haWwuY29tfDQ3MjA2OHw0Mzk2MDUxNjE=>. > > ----- Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Allowing-looser-matches-tp2815186p2815462.html Sent from the Solr - User mailing list archive at Nabble.com.