|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.search.util.SearchUtil
public class SearchUtil
| Field Summary | |
|---|---|
static String |
HIGHLIGHT_TAG_CLOSE
|
static String |
HIGHLIGHT_TAG_OPEN
|
static String[] |
HIGHLIGHTS
|
| Constructor Summary | |
|---|---|
SearchUtil()
|
|
| 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 SearchUtil()
| 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-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||