lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Understanding the Debug explanations for Query Result Scoring/Ranking
Date Sat, 26 Jul 2014 00:37:35 GMT

: Thank you very much Erik. This is exactly what I was looking for. While at
: the moment I have no clue about these numbers, they ruby formatting makes it
: much more easier to understand.

Just to be clear, regardless of *which* response writer you use (xml, 
ruby, json, etc...) the default behavior is to include the score 
explanation sa a single string which uses tabs/newlines to deal with the 
nested (this nesting is visible if you view the raw response, no matter 
what ResponseWriter)

You can however add a param indicating that you want the explaantion 
information to be returned as a *structured data* instead o a simple 
string...

https://wiki.apache.org/solr/CommonQueryParameters#debug.explain.structured

...if you wnat to programatically process debug info, this is the 
recomended way to to so.

-Hoss
http://www.lucidworks.com/

Mime
View raw message