Access Document Score in Custom Function Query (ValueSource)

2011-10-18 Thread sangrish
Hi, I use the following 2 components in ranking documents: "Normal Query" : myField^2 Custom Function Query(ValueSource): myFunc() In this value source I compute another score for every document using some features. I want to access the score of the query myField^2 (for

Access Score in Custom Function Query

2011-11-03 Thread sangrish
Hi, I have a custom function query (value source) where I want to use the score for some computation. For example, for every document I want to add some number (obtained from an external file) to its score. I am achieving this like the following: http://localhost:PORT/myCore/select?q=querySt

Re: Access Document Score in Custom Function Query (ValueSource)

2011-11-03 Thread sangrish
I understand that. Thanks. I just posted a related question , titled : "Access Score in Custom Function Query " where (among other things) I am asking about the performance aspects of this method. As you said, I need to execute "some" query first to create a constrained recall set & then apply

Solr Score Normalization

2011-11-04 Thread sangrish
Hi, I have a (dismax) request handler which has the following 3 scoring components (1 qf & 2 bf) : qf = "field1^2 field2^3" bf = func1(field3)^2 func2(field4)^3 Both func1 & func2 return scores between 0 & 1. The score returned by textual match (qf) ranges from 0 to To allow