: Thank you very much for your explanation.
: I understand now.
: I thought explainOther would explain also why a document is not in the 
resultset,
: on the contrary, it explains only why a given document is in the result set.

The main advantage of explainOther (today) is that it let's you pick an 
"other" document that is not in the current *PAGE* of results, and see 
what it's score is (Example: to help you see why something you think 
should be high scoring isn't in the top 10)

Ideally it would *also* let you see why something doesn't match -- it 
was able to do a little bit of that back in really early versions of 
Solr -- but the explain() implementation in all of the core Lucene classes
were "streamlined" over the years to not bother with the 
recursive "details" of an Explanation instance (which is where "matches 
this clause but not this clause" type information live) when a document 
doesn't match the overall query.


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

Reply via email to