Hi, 

> From: Erik Hatcher [mailto:[EMAIL PROTECTED] 

> > How to highlight the search word
> 
> See Highlighter here:
> 
>       http://jakarta.apache.org/lucene/docs/lucene-sandbox/
> 

Btw, if you want to highlight all words in all the document pass to 
getBestFragment funciton such params:
        text - text
        highlightFragmentSizeInBytes - the length of the text
        maxNumFragmentsRequired - 1
        fragmentSeparator - ''

Pasha Bizhan
http://lucenedotnet.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to