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: u...@thetaphi.de > -----Original Message----- > From: parnab kumar [mailto:parnab.2...@gmail.com] > Sent: Tuesday, November 06, 2012 7:53 PM > To: java-user@lucene.apache.org > 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: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org