How to retrieve relevance "explain" info in code?

2010-02-15 Thread uwdanny
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

Re: How to retrieve relevance "debug/explain" info in code?

2010-02-16 Thread uwdanny
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.

Re: How to retrieve relevance "debug/explain" info in code?

2010-02-16 Thread uwdanny
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

Re: How to retrieve relevance "debug/explain" info in code?

2010-02-16 Thread uwdanny
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

highlight multi-valued field returns weird cut-off highlighted terms

2010-03-04 Thread uwdanny
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

Re: highlight multi-valued field returns weird cut-off highlighted terms

2010-03-04 Thread uwdanny
in this "error" case, the origin query "q=pizza"

Re: highlight multi-valued field returns weird cut-off highlighted terms

2010-03-05 Thread uwdanny
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