The Explanation tree returned by IndexSearcher#explain is as good as you are
going to get, but is rather expensive. You are asking for a lot, so you
should be prepared to pay for it.
See:
http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/IndexSearcher.html#explain(org.apache.lucene.search.Query,
int)
-- Jack Krupansky
-----Original Message-----
From: Vishwas Goel
Sent: Tuesday, December 25, 2012 11:30 PM
To: java-user@lucene.apache.org
Subject: Retrieving granular scores back from Lucene/SOLR
Hi,
I am looking to get a bit more information back from SOLR/Lucene about the
query/document pair scores. This would include field level scores, overall
text relevance score, Boost value, BF value etc.
Information could either be encoded in the score itself that Lucene/Solr
returns - ideally however i would want to return an array of scores back
from SOLR/Lucene. I understand that i could work with the debug output -
but i am looking to do this for the production use case.
Has anyone explored something like this? Does someone know, where is the
final score(not just the relevance score) computed?
Thanks,
Vishwas
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org