Hi, For display you generally would only calculate it for a few documents and not all. So why do you think it's a problem?
You cannot store values somewhere in the scorer for use during document retrieval. Uwe Am 17. Januar 2017 20:40:32 MEZ schrieb sidhant92 <sidhan...@hotmail.com>: >Okay say i need the distance for filtering purposes. And then again i >need >the distance for scoring purposes. I also need the distance for display >purposes and i display some 100 results. So are you sayings its still >okay >to compute the distance twice here once for scoring and once for >display >rather than storing the distances somewhere when doing the custom >scoring? > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/Get-values-in-custom-scoring-during-document-retrieval-tp4313853p4314417.html >Sent from the Lucene - Java Users mailing list archive at Nabble.com. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >For additional commands, e-mail: java-user-h...@lucene.apache.org -- Uwe Schindler Achterdiek 19, 28357 Bremen https://www.thetaphi.de