atg.repository.search.indexing
Interface BulkLoader

All Known Implementing Classes:
BulkLoaderImpl

public interface BulkLoader

Loader implementation that indexes all the configured repository items. The BulkLoader is typically used for a full indexing of a repository (rather than an incremental indexing).


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 boolean bulkLoad(IndexingOutputConfig pOutputConfig)
          Bulk load the specified indexing output config.
 boolean bulkLoad(IndexingOutputConfig pOutputConfig, Query pQuery)
          Bulk load the specified indexing output config, get top-level items using the specified query.
 boolean bulkLoad(IndexingOutputConfig pOutputConfig, Query pQuery, DocumentSubmitterSession pDocSubSession)
          Bulk load the specified indexing output config.
 boolean bulkLoadWithRetry(IndexingOutputConfig pOutputConfig, DocumentSubmitterSession pDocSubSession, int pTimeoutMinutes)
          Attempt a bulk load, retrying if someone else is currently updating.
 atg.xml.jaxb.JaxbInvoker getJaxbUnmarshaller()
          The jaxb unmarshaller used by IndexingOutputConfigs.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

bulkLoad

boolean bulkLoad(IndexingOutputConfig pOutputConfig)
                 throws IndexingException
Bulk load the specified indexing output config.

Parameters:
pOutputConfig - the output configuration to load.
Returns:
true if completed successfully. Return false if the load was canceled.
Throws:
IndexingException

bulkLoad

boolean bulkLoad(IndexingOutputConfig pOutputConfig,
                 Query pQuery)
                 throws IndexingException
Bulk load the specified indexing output config, get top-level items using the specified query.

Parameters:
pOutputConfig - the output configuration to load.
pQuery - a query use for the initial set of top-level repository items.
Returns:
true if completed successfully. Return false if the load was canceled.
Throws:
IndexingException

bulkLoad

boolean bulkLoad(IndexingOutputConfig pOutputConfig,
                 Query pQuery,
                 DocumentSubmitterSession pDocSubSession)
                 throws IndexingException
Bulk load the specified indexing output config.

Parameters:
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.
Returns:
true if completed successfully. Return false if the load was canceled.
Throws:
IndexingException

bulkLoadWithRetry

boolean bulkLoadWithRetry(IndexingOutputConfig pOutputConfig,
                          DocumentSubmitterSession pDocSubSession,
                          int pTimeoutMinutes)
                          throws IndexingException
Attempt a bulk load, retrying if someone else is currently updating.

Parameters:
pOutputConfig - the output configuration to bulkLoad
pTimeoutMinutes - the timeout minutes.
pDocSubSession - the existing document submitter session. if null, will create a new document submitter session.
Throws:
IndexingException

getJaxbUnmarshaller

atg.xml.jaxb.JaxbInvoker getJaxbUnmarshaller()
The jaxb unmarshaller used by IndexingOutputConfigs.