Highlight whole query phrase

2011-07-06 Thread Romi
; } result=result.replace(word,'em' + word + '/em'); }); * Now how should i parse so that i got gold ring highlighted - Thanks Regards Romi -- View this message in context: http://lucene.472066.n3.nabble.com/Highlight-whole-query-phrase-tp3143797p3143797.html Sent from the Solr

Re: Highlight whole query phrase

2011-07-06 Thread Marian Steinbach
On Wed, Jul 6, 2011 at 09:27, Romi romijain3...@gmail.com wrote: Now how should i parse so that i got gold ring highlighted Take a look at the hl.mergeContiguous parameter. http://wiki.apache.org/solr/HighlightingParameters#hl.mergeContiguous

Re: Highlight whole query phrase

2011-07-06 Thread Romi
-whole-query-phrase-tp3143797p3144157.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Highlight whole query phrase

2011-07-06 Thread Marian Steinbach
On Wed, Jul 6, 2011 at 12:07, Romi romijain3...@gmail.com wrote: I included hl.mergeContiguous parameter. in my url but no effect on search result highlighting. actually i need to parse highlighting property. please look at http://jsfiddle.net/bhXbh/4/ I just noticed that I actually don't

Re: Highlight whole query phrase

2011-07-06 Thread Romi
it is accidentally became elegant. anyway i got the solution without using hl.mergeContiguous , because its not working. look at http://jsfiddle.net/bhXbh/31/ for the solution - Thanks Regards Romi -- View this message in context: http://lucene.472066.n3.nabble.com/Highlight-whole-query