You probably want to mix the custom score with the normal relevancy
score... to add, use a normal boolean query.  To multiply, check out
boosted query:
http://lucene.apache.org/solr/api/org/apache/solr/search/BoostQParserPlugin.html

For other options, use a more complex function query with the new
query() capability (need to use 1.4 trunk for that though).

Examples:

&q={!boost b=myScore v=$qq}&qq=my normal lucene query
  OR for a dismax relevancy query,
&q={!boost b=myScore v=$qq}&qq={!dismax qf=text_all pf=text_all}solr rocks

If the {! type of syntax looks new, check out
http://wiki.apache.org/solr/LocalParams
powerful stuff!

-Yonik
http://www.lucidimagination.com

Reply via email to