@Service @Transactional(value="herdTransactionManager") public class SearchIndexHelperServiceImpl extends Object implements SearchIndexHelperService
| Modifier and Type | Field and Description |
|---|---|
static int |
BUSINESS_OBJECT_DEFINITIONS_CHUNK_SIZE |
| Constructor and Description |
|---|
SearchIndexHelperServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
indexAllBusinessObjectDefinitions(SearchIndexKey searchIndexKey)
Indexes all business object definitions defined in the system.
|
Future<Void> |
indexAllTags(SearchIndexKey searchIndexKey)
Indexes all tags defined in the system.
|
protected boolean |
validateSearchIndexSize(String indexName,
int expectedIndexSize)
Performs a simple count validation on the specified search index.
|
public static final int BUSINESS_OBJECT_DEFINITIONS_CHUNK_SIZE
@Async public Future<Void> indexAllBusinessObjectDefinitions(SearchIndexKey searchIndexKey)
SearchIndexHelperServiceindexAllBusinessObjectDefinitions in interface SearchIndexHelperServicesearchIndexKey - the key of the search index@Async public Future<Void> indexAllTags(SearchIndexKey searchIndexKey)
SearchIndexHelperServiceindexAllTags in interface SearchIndexHelperServicesearchIndexKey - the key of the search indexprotected boolean validateSearchIndexSize(String indexName, int expectedIndexSize)
indexName - the name of the indexexpectedIndexSize - the expected index sizeCopyright © 2021. All rights reserved.