public class FulltextSearchLuceneService extends AbstractFulltextSeachService
AbstractFulltextSeachService.CrawlTimestampDto, AbstractFulltextSeachService.RestoreDto| コンストラクタと説明 |
|---|
FulltextSearchLuceneService() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
deleteAllIndex()
テナントの全Indexデータを削除する。
|
void |
deleteAllIndex(int tenantId)
テナントの全Indexデータを削除する。
|
void |
destroy() |
void |
execCrawlEntity(int tenantId,
java.lang.String... defNames)
クロール処理を実行する。
|
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.List<java.lang.String> |
fulltextSearchOidList(java.lang.String searchDefName,
java.lang.String fulltext)
全文検索を実行し、検索結果のOIDリストを返す。
|
void |
init(Config config) |
generateCrawlPropInfo, getLastCrawlTimestamp, getLastCrawlTimestamp, getMaxRows, getRestoreIndexData, insertCrawlLog, isThrowExceptionWhenOverLimit, isUseFulltextSearch, removeAllCrawlLog, removeAllDeleteLog, removeDeleteLog, updateCrawlLogpublic void destroy()
public void init(Config config)
init インタフェース内 Serviceinit クラス内 AbstractFulltextSeachServicepublic void execCrawlEntity(java.lang.String... defNames)
FulltextSearchServicedefNames - Entity定義名public void execCrawlEntity(int tenantId,
java.lang.String... defNames)
FulltextSearchServicetenantId - テナントIDdefNames - Entity定義名public void execRefresh()
FulltextSearchServicepublic <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.List<FulltextSearchResult> execFulltextSearch(java.lang.String searchDefName, java.lang.String keywords)
FulltextSearchServicesearchDefName - Entity定義名keywords - キーワードpublic void deleteAllIndex()
FulltextSearchServicepublic void deleteAllIndex(int tenantId)
FulltextSearchServicetenantId - テナントID