public class LuceneFulltextSearchService extends AbstractFulltextSeachService
AbstractFulltextSeachService.CrawlTimestampDto, AbstractFulltextSeachService.RestoreDto| コンストラクタと説明 |
|---|
LuceneFulltextSearchService() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
deleteAllIndex()
テナントの全Indexデータを削除する。
|
void |
destroy() |
void |
destroyTenantContext(TenantContext tenantContext) |
void |
execCrawlEntity(java.lang.String... defNames)
クロール処理を実行する。
|
java.util.List<FulltextSearchResult> |
execFulltextSearch(java.lang.String searchDefName,
java.lang.String keywords)
全文検索を実行し、検索結果情報を返す。
|
void |
execRefresh()
リフレッシュ処理を実行する。
|
<T extends Entity> |
fulltextSearchEntity(java.util.Map<java.lang.String,java.util.List<java.lang.String>> entityProperties,
java.lang.String fulltext)
全文検索を実行し、検索結果を返す。
|
<T extends Entity> |
fulltextSearchEntity(java.lang.String fulltext,
FulltextSearchOption option)
全文検索を実行し、検索結果を返す。
|
<T extends Entity> |
fulltextSearchEntity(java.lang.String searchDefName,
java.lang.String fulltext)
全文検索を実行し、検索結果を返す。
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
fulltextSearchOidList(java.util.List<java.lang.String> searchDefNames,
java.lang.String fulltext)
全文検索を実行し、対象Entity毎の検索結果OIDリストのMapを返す。
|
java.util.List<java.lang.String> |
fulltextSearchOidList(java.lang.String searchDefName,
java.lang.String fulltext)
全文検索を実行し、検索結果のOIDリストを返す。
|
void |
init(Config config) |
void |
initTenantContext(TenantContext tenantContext) |
(package private) IndexDir |
newIndexDir(int tenantId,
java.lang.String defId) |
generateCrawlPropInfo, getLastCrawlTimestamp, getLastCrawlTimestamp, getMaxRows, getRestoreIndexData, insertCrawlLog, isThrowExceptionWhenOverLimit, isUseFulltextSearch, removeAllCrawlLog, removeAllDeleteLog, removeDeleteLog, updateCrawlLogIndexDir newIndexDir(int tenantId, java.lang.String defId)
public void initTenantContext(TenantContext tenantContext)
initTenantContext インタフェース内 FulltextSearchServiceinitTenantContext クラス内 AbstractFulltextSeachServicepublic void destroyTenantContext(TenantContext tenantContext)
destroyTenantContext インタフェース内 FulltextSearchServicedestroyTenantContext クラス内 AbstractFulltextSeachServicepublic void destroy()
destroy インタフェース内 Servicedestroy クラス内 AbstractFulltextSeachServicepublic void init(Config config)
init インタフェース内 Serviceinit クラス内 AbstractFulltextSeachServicepublic void execRefresh()
FulltextSearchServicepublic void execCrawlEntity(java.lang.String... defNames)
FulltextSearchServicedefNames - Entity定義名public <T extends Entity> SearchResult<T> fulltextSearchEntity(java.lang.String searchDefName, java.lang.String fulltext)
FulltextSearchServicesearchDefName - Entity定義名fulltext - キーワードpublic <T extends Entity> SearchResult<T> fulltextSearchEntity(java.util.Map<java.lang.String,java.util.List<java.lang.String>> entityProperties, java.lang.String fulltext)
FulltextSearchServiceentityProperties - 対象Entity定義名とプロパティ名のリストをセットにしたMapfulltext - キーワードpublic <T extends Entity> SearchResult<T> fulltextSearchEntity(java.lang.String fulltext, FulltextSearchOption option)
FulltextSearchServicefulltext - キーワードoption - 全文検索時のオプションpublic java.util.List<java.lang.String> fulltextSearchOidList(java.lang.String searchDefName,
java.lang.String fulltext)
FulltextSearchServicesearchDefName - Entity定義名fulltext - キーワードpublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> fulltextSearchOidList(java.util.List<java.lang.String> searchDefNames,
java.lang.String fulltext)
FulltextSearchServicesearchDefNames - Entity定義名のリストfulltext - キーワードpublic java.util.List<FulltextSearchResult> execFulltextSearch(java.lang.String searchDefName, java.lang.String keywords)
FulltextSearchServicesearchDefName - Entity定義名keywords - キーワードpublic void deleteAllIndex()
FulltextSearchService