Re: highlight on prefix query

2011-08-31 Thread Ahmed Boubaker
Well, that's one use case, there're others where you need to highlight only what is matching. For now, I solved the problem by writing an additional procedure to correct the highlighting. Not nice, but it works! On Sat, Aug 6, 2011 at 11:10 AM, Kissue Kissue wrote: > I think this is correct be

Re: highlight on prefix query

2011-08-06 Thread Kissue Kissue
I think this is correct behaviour. If you go to google and search for "Tel", you will see that telephone is highlighted. On Fri, Aug 5, 2011 at 5:42 PM, Ahmed Boubaker wrote: > Hi, > > I am using solr 3 and highlighting is working fine. However when using > prefix query like tel*, the highlighte

highlight on prefix query

2011-08-05 Thread Ahmed Boubaker
Hi, I am using solr 3 and highlighting is working fine. However when using prefix query like tel*, the highlighter highlights the whole matching words (i.e. television, telephone, ...). I am highlighting a very short field (3~5 words length). How can I prevent the highlighter from doing so? I