Re: Custom scoring example

2008-09-10 Thread Mike Klaas
stead of max. Any custom scoring example will help. (On one hand, DisjunctionMaxQuery itself is an example :-). It is too professional :-) DisjunctionMaxQuery takes the max plus (tiebreak)*sum(others). So, if you set tie=1.0, dismax becomes exactly what you are seeking. -Mike

Re: Custom scoring example

2008-09-10 Thread Chris Hostetter
: 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. BooleanQuery computes scores that are the sub of hte subscores -- you just need to disable the coordFactor (there is a con

Re: Custom scoring example

2008-09-10 Thread Grant Ingersoll
cores instead of max. Any custom scoring example will help. (On one hand, DisjunctionMaxQuery itself is an example :-). It is too professional :-) Thanks, Ravi

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. (O