@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,
String documentType)
Indexes all business object definitions defined in the system.
|
Future<Void> |
indexAllTags(SearchIndexKey searchIndexKey,
String documentType)
Indexes all tags defined in the system.
|
protected boolean |
validateSearchIndexSize(String indexName,
String documentType,
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, String documentType)
SearchIndexHelperServiceindexAllBusinessObjectDefinitions in interface SearchIndexHelperServicesearchIndexKey - the key of the search indexdocumentType - the document type@Async public Future<Void> indexAllTags(SearchIndexKey searchIndexKey, String documentType)
SearchIndexHelperServiceindexAllTags in interface SearchIndexHelperServicesearchIndexKey - the key of the search indexdocumentType - the document typeprotected boolean validateSearchIndexSize(String indexName, String documentType, int expectedIndexSize)
indexName - the name of the indexdocumentType - the document typeexpectedIndexSize - the expected index sizeCopyright © 2019. All rights reserved.