Have a read: http://lucene.apache.org/java/2_9_1/scoring.html
On Thursday 17 February 2011 12:50:08 Churchill Nanje Mambe wrote: > Hi > I would love to know how to do this with solr > say a user inputs "Account manager files", > I wish that solr puts priority on the documents it finds as follows > 1) documents containing account manager files gets a greater score > 2) then documents with account manager come next > 3) then documents with account can come > before the other words are used to get documents in the search > > right now I think it works different as it finds documents with > accounts and puts them like in first position or documents with word > manager in second position or so > > thanks -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350