Re: How to display Highlight with VelocityResponseWriter?

2010-01-14 Thread Erik Hatcher
One trick I use a lot with VwR is simply to do $object.class in a template, hit refresh and see what type of object it is. The consult javadocs/code to see how to navigate that object. Highlighting support is something that I meant to put into the templates shipped, as it is something I've

Re: How to display Highlight with VelocityResponseWriter?

2010-01-13 Thread Sascha Szott
Hi Qiuyan, > Thanks a lot. It works now. When i added the line > #set($hl = $response.highlighting) > i got the highlighting. But i wonder if there's any document that > describes the usage of that. I mean i didn't know the name of those > methods. Actually i just managed to guess it. Solritas (ak

Re: How to display Highlight with VelocityResponseWriter?

2010-01-13 Thread qiuyan . xu
Thanks a lot. It works now. When i added the line #set($hl = $response.highlighting) i got the highlighting. But i wonder if there's any document that describes the usage of that. I mean i didn't know the name of those methods. Actually i just managed to guess it. best regards, Qiuyan Quoti

Re: How to display Highlight with VelocityResponseWriter?

2010-01-11 Thread Sascha Szott
Qiuyan, with highlight can also be displayed in the web gui. I've added true into the standard responseHandler and it already works, i.e without velocity. But the same line doesn't take effect in itas. Should i configure anything else? Thanks in advance. First of all, just a few notes on the /it

How to display Highlight with VelocityResponseWriter?

2010-01-11 Thread qiuyan . xu
Hi, we need a web gui for solr and we've noticed that VelocityResponseWriter is integrated in solr-proj for that purpose. But i have no idea how i can configure solrconfig.xml so that snippet with highlight can also be displayed in the web gui. I've added name="hl">true into the standard re