public class LuceneConfigManagerImpl extends Object implements LuceneConfigManager
DEFAULT_BEAN_NAME
FULLTEXT_CONFIG_ID, FULLTEXT_CONFIG_MANAGER
Constructor and Description |
---|
LuceneConfigManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addFullTextConfig(LuceneConfig config)
添加单条配置
|
void |
addIndexConfig(BaseIndexConfig config) |
void |
addLuceneConfigs(LuceneConfigs configs)
添加配置组
|
LuceneConfig |
getFullTextConfig()
得到默认的配置信息
|
LuceneConfig |
getFullTextConfig(String configId)
得到配置信息
|
List<BaseIndexConfig> |
getIndexConfigList()
获得索引配置项列表
|
void |
removeFullTextConfig(LuceneConfig config)
删除单条配置
|
void |
removeIndexConfig(BaseIndexConfig config) |
void |
removeLuceneConfigs(LuceneConfigs configs)
删除配置组
|
public void addLuceneConfigs(LuceneConfigs configs)
LuceneConfigManager
addLuceneConfigs
in interface LuceneConfigManager
public void removeLuceneConfigs(LuceneConfigs configs)
LuceneConfigManager
removeLuceneConfigs
in interface LuceneConfigManager
public void addIndexConfig(BaseIndexConfig config)
public void removeIndexConfig(BaseIndexConfig config)
public List<BaseIndexConfig> getIndexConfigList()
LuceneConfigManager
getIndexConfigList
in interface LuceneConfigManager
public void addFullTextConfig(LuceneConfig config)
FullTextConfigManager
addFullTextConfig
in interface FullTextConfigManager<LuceneConfig>
public void removeFullTextConfig(LuceneConfig config)
FullTextConfigManager
removeFullTextConfig
in interface FullTextConfigManager<LuceneConfig>
public LuceneConfig getFullTextConfig(String configId)
FullTextConfigManager
getFullTextConfig
in interface FullTextConfigManager<LuceneConfig>
public LuceneConfig getFullTextConfig()
FullTextConfigManager
getFullTextConfig
in interface FullTextConfigManager<LuceneConfig>
Copyright © 2006–2018 TinyGroup. All rights reserved.