See boosting documents by function query. This way you can use document's boost_score field to affect the final score.
http://wiki.apache.org/solr/FunctionQuery On Monday 14 March 2011 16:40:42 Brian Lamb wrote: > Hi all, > > I have a field in my schema called boost_score. I would like to set it up > so that if I pass in a certain flag, each document score is boosted by the > number in boost_score. > > For example if I use: > > http://localhost/solr/search/?q=dog > > I would get search results like normal. But if I use: > > http://localhost/solr/search?q=dog&boost=true > > The score of each document would be boosted by the number in the field > boost_score. > > Unfortunately, I have no idea how to implement this actually but I'm hoping > that's where you all can come in. > > Thanks, > > Brian Lamb -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350