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 wrote:
> (10/12/23 14:10), Ru
(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 qu
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?
(10/12/23 11:56), Ruixiang Zhang wrote:
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"
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","