you might find these helpful...similar question came up last week: http://ln-s.net/7WpX http://robotlibrarian.billdueber.com/solr-forcing-items-with-all-query-terms-to-the-top-of-a-solr-search/
not exactly the same, as this case wanted to boost if *every* term matched, but a similar tactic may work....hope that helps, rob On Thu, Aug 26, 2010 at 4:02 PM, Hasnain <hasn...@hotmail.com> wrote: > > perhaps i wasnt clear in my earlier post > > if user searches for "swingline red stapler hammer hand rigid", then > documents that matches max number of words written in query should come > first > e.g a document with name field as "swingline stapler" should come later than > the document with "swingline red stapler" > > any suggestions how to achieve this functionality? > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Search-Results-optimization-tp1129374p1359916.html > Sent from the Solr - User mailing list archive at Nabble.com. >