Hi,
I was trying to get the detailed "explain" info in (java) code using the
APIs, see codes below,
-
ResponseBuilder rb (from some inherited process function)
SolrIndexSearcher searcher = rb.req.getSearcher();
Query query = rb.getQuery();
Explanation epl = searcher.explain(quer
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.
RL brings back some stuff
>
> in Lucene, IndexSearcher.explain()?
>
> Erick
>
> On Tue, Feb 16, 2010 at 1:21 PM, uwdanny wrote:
>
>>
>> any hints?
>> --
>> View this message in context:
>> http://old.nabble.com/How-to-retrieve-relevance-%22debu
update - found the answer
API getExplainList in org.apache.solr.util.SolrPluginUtils
works.
uwdanny wrote:
>
> Hi,
>
> I was trying to get the detailed "explain" info in (java) code using the
> APIs, see codes below,
>
> -
> Respo
Basically, the problem is that query keyword "pizza" occurs in 4 out of 10
values in multi-valued field "TEST_KEYWORDS"; in the first two
matching/highlighting, only "pizz" is highlighted with an extra space
beforehand ( pizz), and "a" is left behind; and in the other two
highlighting, "pizza" is
in this "error" case, the origin query "q=pizza"
Thanks a lot Koji;
I'll do some deep diving on my tokenizer modification part.
appreciate the pointers!
Koji Sekiguchi-2 wrote:
>
> uwdanny wrote:
>> in this "error" case, the origin query "q=pizza"
>>
>> > indexed=&quo