|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.search.highlight.HighlightUtil
public class HighlightUtil
| Field Summary | |
|---|---|
static String |
HIGHLIGHT_TAG_CLOSE
|
static String |
HIGHLIGHT_TAG_OPEN
|
static String[] |
HIGHLIGHTS
|
| Constructor Summary | |
|---|---|
HighlightUtil()
|
|
| Method Summary | |
|---|---|
static void |
addSnippet(Document document,
Set<String> queryTerms,
String snippet,
String snippetFieldName)
|
static String |
highlight(String s,
String[] queryTerms)
|
static String |
highlight(String s,
String[] queryTerms,
String highlight1,
String highlight2)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String HIGHLIGHT_TAG_CLOSE
public static final String HIGHLIGHT_TAG_OPEN
public static final String[] HIGHLIGHTS
| Constructor Detail |
|---|
public HighlightUtil()
| Method Detail |
|---|
public static void addSnippet(Document document,
Set<String> queryTerms,
String snippet,
String snippetFieldName)
public static String highlight(String s,
String[] queryTerms)
public static String highlight(String s,
String[] queryTerms,
String highlight1,
String highlight2)
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||