Hi,

 

This is known problem. Unfortunatelly  this behavior is caused by way, how it 
is implemented.

Doing exact highlighting is much more complex task (especially for span 
queries).

 

I remember there was some discussion about this few months ago, try to search 
mailing

list archive 

 

Borek

 

From: muhammad ismael [mailto:m.ismae...@gmail.com] 
Sent: Saturday, November 27, 2010 9:30 PM
To: CLucene-developers@lists.sourceforge.net
Subject: [CLucene-dev] how can i use the highlighter to highlight the exactterm?

 

Hi,
I am searching for the term "hello world" for example, and i use highlighter  
to highlight it.but the highlighter does not highlight it only, but also 
highlights the word "hello" even if it is not followed by the other word 
"world".
How can i make the highlighter highlights the exact term only? 

-- 

Sincerely
--------------------
Mohammad Ismael
Software Developer
Mobile:+20114753575

 

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to