Somewhat complex scoring/boosting

2008-09-05 Thread Ravindra Sharma
Hi Folks, I have somewhat complex scoring/boosting requirement. Say I have 3 text fields A, B, C and a Numeric field called D. Say My query is "testrank". Scoring should be based on following: Query matches 1. text fields A, B and C, & Highest value of D (highest boost/rank) 2. A and B, & Highe

Custom scoring example

2008-09-05 Thread Ravindra Sharma
I am looking for an example if anyone has done any custom scoring with Solr/Lucene. I need to implement a Query similar to DisjunctionMaxQuery, the only difference would be it should score based on sum of score of sub queries' scores instead of max. Any custom scoring example will help. (On one