Print highlighting descriptions

2010-12-22 Thread Ruixiang Zhang
I want to print the highlighting descriptions: {responseHeader:{status:0, QTime:2,params:{hl.fl:description,json.wrf:jsonp1293069622009,wt:json,q:target,hl:true}},response:{numFound:7945,start:0,maxScore:6.9186745,docs:[{description:target,url:target,id:269653,score:6.9186745},{description:Target

Re: Print highlighting descriptions

2010-12-22 Thread Koji Sekiguchi
(10/12/23 11:56), Ruixiang Zhang wrote: I want to print the highlighting descriptions: {responseHeader:{status:0,

Re: Print highlighting descriptions

2010-12-22 Thread Ruixiang Zhang
Thanks Koji. Actually my question is: We can use response.response.docs[i].description to print the description in docs. What expression should we use to print the description in highlighting?

Re: Print highlighting descriptions

2010-12-22 Thread Koji Sekiguchi
(10/12/23 14:10), Ruixiang Zhang wrote: Thanks Koji. Actually my question is: We can use response.response.docs[i].description to print the description in docs. What expression should we use to print the description in highlighting? Ruixiang, I cannot understand your question. Is it Solr

Re: Print highlighting descriptions

2010-12-22 Thread Ruixiang Zhang
Hi Koji I figured it out. I can use response.highlighting[response.response.docs[0].id].description[0] to print the description in highlighting. (Actually, it's not a solr question, sorry for that.) Thanks Ruixiang On Wed, Dec 22, 2010 at 10:05 PM, Koji Sekiguchi k...@r.email.ne.jp wrote: