lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: Get values in custom scoring during document retrieval
Date Tue, 17 Jan 2017 18:36:50 GMT
Maybe recomputing the distance is not too bad? Say you have millions of
documents and only ask for the top 100, then recomputing distances for that
top 100 would be much cheaper than what you already had to do to compute
the scores.

Le ven. 13 janv. 2017 à 18:08, sidhant92 <sidhant92@hotmail.com> a écrit :

> I am using custom score provider for scoring lucene documents manually. I
> am
> doing many calculations in custom score provider to calculate the score.
> For
> example on of them is distance. So now once the scoring is done i would
> like
> to know that distance as well. Instead of computing it again cant i
> directly
> get that value after scoring as its already calculated.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Get-values-in-custom-scoring-during-document-retrieval-tp4313853.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message