public class FullTextHelper extends Object
Constructor and Description |
---|
FullTextHelper() |
Modifier and Type | Method and Description |
---|---|
static FullText |
getFullText()
得到FullText的实例
|
static FullText |
getFullText(String userId)
获取默认模板的不同用户的实例
|
static FullText |
getFullText(String userId,
String configId)
获取指定模板的不同用户的实例
|
static String |
getStoreAbstract()
得到默认的abstract存储名
|
static String |
getStoreId()
得到默认的ID存储名
|
static String |
getStoreTitle()
得到默认的title存储名
|
static String |
getStoreType()
得到默认的type存储名
|
static Pager<HighlightDocument> |
highlight(Pager<Document> pager,
Object... arguments)
高亮结果
|
static void |
setStoreAbstract(String Abstract)
设置默认的type存储名
|
static void |
setStoreId(String id)
设置默认的ID存储名
|
static void |
setStoreTitle(String title)
设置默认的title存储名
|
static void |
setStoreType(String type)
设置默认的type存储名
|
public static String getStoreId()
public static void setStoreId(String id)
id
- public static String getStoreType()
public static void setStoreType(String type)
type
- public static String getStoreTitle()
public static void setStoreTitle(String title)
type
- public static String getStoreAbstract()
public static void setStoreAbstract(String Abstract)
type
- public static FullText getFullText()
public static FullText getFullText(String userId)
userId
- configId
- public static FullText getFullText(String userId, String configId)
userId
- configId
- public static Pager<HighlightDocument> highlight(Pager<Document> pager, Object... arguments)
pager
- arguments
- Copyright © 2006–2018 TinyGroup. All rights reserved.