Hi erick, thanks for the reply. my query url includes "debugQuery=on" and the result page is correctly showing all the debug / explain info. the problem I'm facing is that I cannot get the same debug/explain info in code. I've been trying IndexSearcher.explain(Weight, int ) API, as well as Searcher.explain( Query, int ) API, the methods (in code) always throw me 0.0 score, whereas on url return page everything's fine.
appreciate the help =) Erick Erickson wrote: > > Any details? This is pretty ambiguous.... > > tacking debugQuery=true to a URL brings back some stuff.... > > in Lucene, IndexSearcher.explain()? > > Erick > > On Tue, Feb 16, 2010 at 1:21 PM, uwdanny <uwda...@gmail.com> wrote: > >> >> any hints? >> -- >> View this message in context: >> http://old.nabble.com/How-to-retrieve-relevance-%22debug-explain%22-info-in-code--tp27602530p27612814.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://old.nabble.com/How-to-retrieve-relevance-%22debug-explain%22-info-in-code--tp27602530p27613601.html Sent from the Solr - User mailing list archive at Nabble.com.