public interface HighlightingExcerptProvider extends ExcerptProvider
HighlightingExcerptProvider extends the
 ExcerptProvider interface with a method that highlights matching
 terms in arbitrary text.REP_EXCERPT| Modifier and Type | Method and Description | 
|---|---|
String | 
highlight(String text)
Highlights the matching terms in the passed  
text. | 
getExcerpt, initString highlight(String text) throws IOException
text.text - the input text.IOException - if an error occurs while highlighting the text.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.