Use CustomScoreQuery. The external values can be looked up in the 
CustomScoreProvider. The CSQ wraps the original Lucene Query and can multiply 
in extra factors.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]

> -----Original Message-----
> From: parnab kumar [mailto:[email protected]]
> Sent: Tuesday, November 06, 2012 7:53 PM
> To: [email protected]
> Subject: Document scoring
> 
> Hi All,
> 
> I am using lucene 3.x  . I need some flexibility for document scoring . For
> instance, after the score of a document has been calculated with respect to a
> query , i want to look up additional features for the document and modify
> the score and use this final score .
>           Which class and method i should start looking given that i am using
> default similarity  . Can anyone please help.
> 
> Thanks,
> Parnab


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to