public interface BulkLoader
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Modifier and Type | Method and Description |
|---|---|
atg.repository.search.indexing.BulkLoaderResults |
bulkLoad(IndexingOutputConfig pOutputConfig)
Bulk load the specified indexing output config.
|
atg.repository.search.indexing.BulkLoaderResults |
bulkLoad(IndexingOutputConfig pOutputConfig,
Query pQuery)
Bulk load the specified indexing output config,
get top-level items using the specified query.
|
atg.repository.search.indexing.BulkLoaderResults |
bulkLoad(IndexingOutputConfig pOutputConfig,
Query pQuery,
atg.repository.search.indexing.DocumentSubmitterSession pDocSubSession)
Bulk load the specified indexing output config.
|
atg.repository.search.indexing.BulkLoaderResults |
bulkLoad(IndexingOutputConfig pOutputConfig,
Query pQuery,
atg.repository.search.indexing.DocumentSubmitterSession pDocSubSession,
boolean pDeleteGenerations,
atg.search.index.IndexInfo pIndexInfo)
Bulk load the specified indexing output config.
|
atg.repository.search.indexing.BulkLoaderResults |
bulkLoadWithRetry(IndexingOutputConfig pOutputConfig,
atg.repository.search.indexing.DocumentSubmitterSession pDocSubSession,
int pTimeoutMinutes,
atg.search.index.IndexInfo pIndexInfo)
Attempt a bulk load, retrying if someone else is
currently updating.
|
atg.xml.jaxb.JaxbInvoker |
getJaxbUnmarshaller()
The jaxb unmarshaller used by IndexingOutputConfigs.
|
void |
postIndexingCleanup(IndexingOutputConfig pOutputConfig,
boolean pSuccess,
atg.repository.search.indexing.BulkLoaderResults pResults)
Called after a SearchAdmin indexing invocation to perform
post-index housekeeping.
|
static final java.lang.String CLASS_VERSION
atg.repository.search.indexing.BulkLoaderResults bulkLoad(IndexingOutputConfig pOutputConfig) throws IndexingException
pOutputConfig - the output configuration to load.IndexingExceptionatg.repository.search.indexing.BulkLoaderResults bulkLoad(IndexingOutputConfig pOutputConfig, Query pQuery) throws IndexingException
pOutputConfig - the output configuration to load.pQuery - a query use for the initial set of
top-level repository items.IndexingExceptionatg.repository.search.indexing.BulkLoaderResults bulkLoad(IndexingOutputConfig pOutputConfig, Query pQuery, atg.repository.search.indexing.DocumentSubmitterSession pDocSubSession) throws IndexingException
pOutputConfig - the output configuration to load.pQuery - the query to use for the top-level items.pDocSubSession - the existing document submitter session.
if null, will create a new document submitter session.IndexingExceptionatg.repository.search.indexing.BulkLoaderResults bulkLoad(IndexingOutputConfig pOutputConfig, Query pQuery, atg.repository.search.indexing.DocumentSubmitterSession pDocSubSession, boolean pDeleteGenerations, atg.search.index.IndexInfo pIndexInfo) throws IndexingException
pOutputConfig - the output configuration to load.pQuery - the query to use for the top-level items.pDocSubSession - the existing document submitter session.pIndexInfo - The IndexInfo as supplied by the SearchAdmin
if null, will create a new document submitter session.IndexingExceptionatg.repository.search.indexing.BulkLoaderResults bulkLoadWithRetry(IndexingOutputConfig pOutputConfig, atg.repository.search.indexing.DocumentSubmitterSession pDocSubSession, int pTimeoutMinutes, atg.search.index.IndexInfo pIndexInfo) throws IndexingException
pOutputConfig - the output configuration to bulkLoadpDocSubSession - the existing document submitter session.pTimeoutMinutes - the timeout minutes.pIndexInfo - The IndexInfo as supplied by the SearchAdmin
if null, will create a new document submitter session.IndexingExceptionatg.xml.jaxb.JaxbInvoker getJaxbUnmarshaller()
void postIndexingCleanup(IndexingOutputConfig pOutputConfig, boolean pSuccess, atg.repository.search.indexing.BulkLoaderResults pResults) throws IndexingException
pOutputConfig - the IndexingOutputConfig for the indexing jobpSuccess - True if the overall SearchAdmin indexing process
was sucessfull.pResults - Information used clean up after a successful or
unsuccessful indexing operationIndexingException