The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

dpawson (54) [Avatar] Offline

Explanation explanation
= searcher.explain(query, match.doc); //#A

I.e. IndexSearcher.explain(Query, Scoredoc.doc)

Yet the javadocs only has explain(Weight weight, int doc)

the book example runs happily to provide such as

<!--0.09938301 = (MATCH) fieldWeight(contents:emacs in 14), product of: <br /> 1.4142135 = tf(termFreq(contents:emacs)=2) <br /> 3.5980494 = idf(docFreq=15, maxDocs=215) <br /> 0.01953125 = fieldNorm(field=contents, doc=14) <br /> -->

Is the javadoc out of date?
mike.mccandless (221) [Avatar] Offline
Re: pdf listing 3.4
explain(Query, int), and other search methods, are inherited from Searcher...