In general, the right way to proceed is to recompute the map the same way in explain() that it would be computed in score().
Le ven. 19 janv. 2018 à 12:57, Vadim Gindin <vgin...@detectum.com> a écrit : > Assume, I have some scorer. During the execution of score() method, I'm > caching a document id and scoring details to a Map. Further, in the > explain(docID) method, I'm taking scoring details from that map by docID. > Is it a correct scheme? If no how to implement it correctly? > > Regards, > Vadim Gindin >