public class EndecaIndexingOutputConfig extends IndexingOutputConfig implements Indexable
In addition, "merges" duplicate equivalent meta/text properties by suppressing the text property, since Endeca properties only have on namespace (as opposed to ATG search properties, which have a separate meta and text namespace).
Created: November 09 2011
PropertyNameMunger,
OutputPropertyMerger,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
class |
EndecaIndexingOutputConfig.ContextStatusReporter
Return a status reporter that wraps a Context.
|
static interface |
EndecaIndexingOutputConfig.LoaderResultsWrapper
A interface wrapper around loader results.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static java.lang.String |
CONTEXT_STATUS_REPORTER |
protected java.util.Set<atg.repository.search.indexing.specifier.OutputProperty> |
mSetOutputProperties
The set of known output properties.
|
DEFAULT_DERIVED_PROPERTIES_MODIFIER, DEFAULT_SITE_INDEX_INFO_SERVICE, mDocumentSubmitterTL, mJobId, REQUIRED_DOCUMENT_OUTPUT_PROPERTIES, REQUIRED_EVERY_ITEM_OUTPUT_PROPERTIES, serialVersionUIDSERVICE_INFO_KEYBASE_URL_OUTPUT_PROPERTY_NAME, CONTEXT_OUTPUT_PROPERTY_NAME, DEFAULT_FORMATTER_KEY, DELETED_ITEM_CONTEXT_ATTRIBUTE_NAME, DOCUMENT_ID_OUTPUT_PROPERTY_NAME, PROP_TYPE_BOOLEAN, PROP_TYPE_DATE, PROP_TYPE_ENUM, PROP_TYPE_FLOAT, PROP_TYPE_INTEGER, PROP_TYPE_STRING, PROP_TYPE_TEXT, PROP_TYPE_UNKNOWN, SITE_CONTEXT_ATTRIBUTE_NAME, SITE_CONTEXT_PROPERTY_NAME, URL_OUTPUT_PROPERTY_NAMEDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
EndecaIndexingOutputConfig()
Createa new instance, setting the default formatter to
an instance of
EndecaPropertyFormatter |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultOutputNameReplacements()
Add the default output name replacements.
|
protected java.lang.String[] |
addInStrings(java.lang.String[] pStrings,
java.lang.String[] pRequiredStrings)
In this case, we are overriding the add in strings to parse out
disallowed flags, and make it smarter about not stomping all over
explicit settings.
|
void |
afterSessionStart(Context pContext)
This method is invoked immediately after a DocumentSubmitter session
is closed.
|
void |
calculateOutputPropertyNames()
Calculate the various output properties.
|
protected void |
calculateSourcePropertyPathToOutputProperty()
Populate the sourcePropertyPathToOutputProperty property.
|
boolean |
cancel(IndexingTask pTask,
boolean pBaseline)
Cancel the currently in-process performBulkLoad or
processQueuedIncrementalUpdates.
|
protected javax.servlet.Servlet |
createAdminServlet()
Creates and returns a new Servlet that will administer this
service.
|
protected atg.search.index.IndexInfo |
createDefaultIndexInfo()
Create default IndexInfo for indexing tasks that do no supply an
IndexInfo.
|
protected void |
createEmptyTransformationRecords(boolean pMeta)
Create empty transformation records for all known properties.
|
protected atg.repository.search.indexing.specifier.OutputItemSpecifier |
createOutputItemSpecifier()
Returns EndecaOutputItemSpecifier that is aware of endeca-specific properties.
|
Context |
createTestContext()
Create a Context for testing or other non-indexing use.
|
atg.search.index.IndexInfo |
createTestIndexInfo()
Creates and initializes an IndexInfo instances for test document
generation.
|
void |
doStartService()
Start up the service, parsing the definition file, etc.
|
java.util.List<Record> |
generateTestRecords(java.lang.String pId)
Generate test records.
|
java.lang.String[] |
getDisallowedRequiredFlags()
Returns property disallowedRequiredFlags.
|
java.lang.String[] |
getDocumentLevelOutputProperties()
Get the list of output properties that will be added
to every repository item.
|
java.lang.String[] |
getExcludedItemsAncestorIds()
Returns property excludedItemsAncestorIds
|
java.lang.String |
getIdOutputPropertyName()
Returns property idOutputPropertyName.
|
IndexingApplicationConfiguration |
getIndexingApplicationConfiguration()
Returns property indexingApplicationConfiguration.
|
java.util.Set<java.lang.String> |
getIndexingOutputConfigPaths()
Return the set of IndexingOutputConfigs associated with this Indexable.
|
java.util.Locale[] |
getLocales()
Returns property locales.
|
boolean |
getMultiLanguageSynonyms()
Returns property multiLanguageSynonyms
|
java.util.List<atg.repository.search.indexing.specifier.OutputProperty> |
getOutputPropertiesAccessible(boolean pMeta)
A publically accessible form of getOutputProperties.
|
java.util.Map<atg.repository.search.indexing.specifier.OutputProperty,PropertyTransformationRecord> |
getOutputPropertyToTransformations()
Return the outputPropertyToTransformations property.
|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getPrefixReplacementMap()
Returns property prefixReplacementMap.
|
java.lang.String[] |
getReplaceWithTypePrefixes()
Returns property replaceWithTypePrefixes.
|
char |
getSeparator()
Returns property mSeparator.
|
java.util.Set<atg.repository.search.indexing.specifier.OutputProperty> |
getSetOutputProperties()
Return the setOutputProperties property.
|
java.lang.String[] |
getSiteIDsToIndex()
Returns property siteIDsToIndex.
|
Repository |
getSiteRepositoryToQuery()
Return the site repository to query for all sites.
|
Repository |
getSiteRepositoryToQueryOverride()
Returns property siteRepositoryToQueryOverride.
|
RepositoryItem[] |
getSitesToIndex()
Returns property getCatalogsForSitesToIndex.
|
java.util.Map<java.lang.String,atg.repository.search.indexing.specifier.OutputProperty> |
getSourcePropertyPathToOutputProperty()
Returns property sourcePropertyPathToOutputProperty.
|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getSuffixReplacementMap()
Returns property suffixReplacementMap.
|
java.lang.String |
getTestRecordId() |
PropertyTransformationRecord |
getTransformationRecord(atg.repository.search.indexing.specifier.OutputProperty pProperty)
Get the transformation record for the specified output property,
created it if needed.
|
boolean |
isAddDefaultOutputNameReplacements()
Returns property addDefaultOutputNameReplacements.
|
boolean |
isAlwaysGenerateXml()
Returns property alwaysGenerateXml.
|
boolean |
isForceToBaseline()
The method is called before starting partial indexing job for all Indexable
to allow forcing the job to baseline indexing.
|
boolean |
isForceToBaselineOnChange()
Returns property forceToBaselineOnChange
|
boolean |
isLoggingDebugPropertyMerging()
Returns property loggingDebugPropertyMerging.
|
boolean |
isNeededForIncremental()
Whether this Indexable is needed for an incremental update.
|
protected boolean |
isRequiredFlagDisallowed(java.lang.String pFlag)
Whether the flag form the requiredProperties or everyDocument
is disallowed.
|
boolean |
isSupportsStatusCounts()
Whether this object supports returning/updating status counts.
|
boolean |
isUseAtgSearchXmlFormat()
Returns property useAtgSearchXmlFormat.
|
boolean |
mayNeedCleanup()
Whether this task may need cleanup.
|
protected void |
mergeDuplicateProperties()
Look for duplicate properties and suppress redundant duplicates.
|
protected void |
mungeAllOutputPropertyNames()
Munge all output property names into an Endeca-friendly format.
|
atg.repository.search.indexing.BulkLoaderResults |
performBaselineUpdate(IndexingTask pTask)
Do a full/bulk load.
|
atg.repository.search.indexing.LoaderResults |
performPartialUpdate(IndexingTask pTask)
Do an incremental load (that is, process any Queued incremental
updates.
|
void |
postIndexingCleanup(IndexingTask pTask,
boolean pSuccess,
atg.repository.search.indexing.LoaderResults pResults)
Perform any post indexing cleanup.
|
atg.repository.search.indexing.LoaderResults |
processQueuedIncrementalUpdates(atg.search.index.IndexInfo pIndexInfo,
atg.repository.search.indexing.DocumentSubmitterSession pSession)
Process any queued incremental updates
|
void |
setAddDefaultOutputNameReplacements(boolean pAddDefaultOutputNameReplacements)
Sets property addDefaultOutputNameReplacements.
|
void |
setAlwaysGenerateXml(boolean pAlwaysGenerateXml)
Sets property alwaysGenerateXml.
|
void |
setDisallowedRequiredFlags(java.lang.String[] pDisallowedRequiredFlags)
Sets property disallowedRequiredFlags.
|
void |
setExcludedItemsAncestorIds(java.lang.String[] pExcludedItemsAncestorIds)
Sets property excludedItemsAncestorIds
|
void |
setForceToBaselineOnChange(boolean pForceToBaselineOnChange)
Sets property forceToBaselineOnChange
|
void |
setIdOutputPropertyName(java.lang.String pIdOutputPropertyName)
Sets property idOutputPropertyName.
|
void |
setIndexingApplicationConfiguration(IndexingApplicationConfiguration pIndexingApplicationConfiguration)
Sets property indexingApplicationConfiguration.
|
void |
setLoggingDebugPropertyMerging(boolean pLoggingDebugPropertyMerging)
Sets property loggingDebugPropertyMerging.
|
void |
setPrefixReplacementMap(java.util.LinkedHashMap<java.lang.String,java.lang.String> pPrefixReplacementMap)
Sets property prefixReplacementMap.
|
void |
setReplaceWithTypePrefixes(java.lang.String[] pReplaceWithTypePrefixes)
Sets property replaceWithTypePrefixes.
|
void |
setSeparator(char pSeparator)
Sets property mSeparator.
|
void |
setSiteIDsToIndex(java.lang.String[] pSiteIDsToIndex)
Sets property siteIDsToIndex.
|
void |
setSiteRepositoryToQueryOverride(Repository pSiteRepositoryToQueryOverride)
Sets property siteRepositoryToQueryOverride.
|
void |
setSourcePropertyPathToOutputProperty(java.util.Map<java.lang.String,atg.repository.search.indexing.specifier.OutputProperty> pSourcePropertyPathToOutputProperty)
Sets property sourcePropertyPathToOutputProperty.
|
void |
setSuffixReplacementMap(java.util.LinkedHashMap<java.lang.String,java.lang.String> pSuffixReplacementMap)
Sets property suffixReplacementMap.
|
void |
setTestRecordId(java.lang.String pId) |
void |
setUseAtgSearchXmlFormat(boolean pUseAtgSearchXmlFormat)
Sets property useAtgSearchXmlFormat.
|
protected java.lang.String[] |
stringArrayReplaceString(java.lang.String[] pArray,
java.lang.String pMatch,
java.lang.String pReplace)
A simple utility to replace a string in a string array.
|
protected boolean |
stringListContainsName(java.lang.String[] pList,
java.lang.String pName) |
addBasicFilters, addBasicFormatters, addBasicPropertyAccessors, addDocumentLevelSpecifiers, addIfNotPresent, addValidationMessage, allowPeriodicIndexing, beforeSessionEnd, buildUriForRepositoryItem, bulkLoad, bulkLoad, bulkLoad, bulkLoad, bulkLoadForDiagnostics, bulkLoadWithRetry, bulkLoadWithRetry, calculateOutputPropertyNames, cancelBulkLoad, cancelIncrementalUpdate, clearIterationState, containsString, correctRepositoryPath, createInitialIncrementalQueues, determineLogicalPartitionName, doStopService, executeSynchronizationsOnly, executeTestDocumentGeneration, exportAsRemoteService, generateTestDocument, getAllOutputItemSpecifiers, getAllOutputProperties, getAllOutputPropertyNames, getBulkLoader, getBulkLoadQuery, getBulkLoadWithRetryMinutes, getBulkSchedule, getBulkScheduleConsiderIndexedMinutes, getBulkScheduler, getConfigRepositoryItemChangedProcessor, getDefaultFormatter, getDefaultPropertyAccessor, getDefaultPropertyAccessorPath, getDefinitionFile, getDocumentIdGenerator, getDocumentLevelSpecifiers, getDocumentSubmitter, getEveryItemOutputProperties, getFilterMap, getForceIncrementalIndexingFromGeneration, getFormatterMap, getHashOutputProps, getIncrementalLoader, getIncrementalUpdateSeconds, getIndexingHashOutputProperties, getIndexingSynchronizations, getItemDescriptors, getIterationProducer, getJobDescription, getJobName, getManualIndexRequests, getMaxFailuresAllowedForCommitting, getMaxIncrementalChanges, getMaxIncrementalChangesPerGeneration, getMaxIndexedItems, getMaxNumberProcessItemThreads, getMetaOutputPropertyNames, getMonitorDerivedPropertiesModifier, getMonitoredRepositories, getNonVersionRepositoryPath, getOutputItemSpecifier, getOutputProperties, getOutputProperties, getPrimaryRepositoryComponentPath, getProcessingPropertiesCallbacks, getPropertyAccessorMap, getPropertyAccessorToOutputPropertySet, getRepositories, getRepository, getRepositoryItemGroup, getRequiredEveryItemOutputProperties, getResourceBundleName, getRmiServer, getSchedule, getScheduler, getShadowRepositoryMap, getSiteIndexInfoService, getSynchronizedRepositories, getTargetName, getTextActiveZones, getTextOutputPropertyNames, getThreadedItemQueueBatchSize, getThreadMethod, getTopLevelItemRepository, getUnversionedRepositoryPath, getUnversionedVersionedRepositoryPaths, getUriForRepositoryItem, getValidationMessages, getVariantProducers, getVersionedRepositoryPath, getVersionRepositoryPath, haveNestedDocumentLevelSpecifiers, haveNestedDocumentLevelSpecifiers, incrementallyLoad, indexedItem, initializeIndexInfo, isAutoCreateInitialQueues, isDisableSiteContextFiltering, isEnableIncrementalLoading, isEnableScheduledBulkLoading, isFilterOutDollarOutputPropertyNames, isForceDeleteGenerations, isMonitorShadowRepositories, isNonVersionRepository, isOnPubServer, isPeriodicActivityUpdateThreadRunning, isTransactional, isUseConfigurationClaims, isUseThreadedIndexRequestQueue, isUseThreadedItemQueue, isVersionRepository, jaxbParseFile, modifyOutputItemSpecifier, notifyIndexingInitialization, notifyIndexingTermination, performAction, performScheduledTask, postIndexingCleanup, processQueuedIncrementalUpdates, processQueuedIncrementalUpdates, processQueuedIncrementalUpdates, resolveComponents, setAutoCreateInitialQueues, setBulkLoader, setBulkLoadWithRetryMinutes, setBulkSchedule, setBulkScheduleConsiderIndexedMinutes, setBulkScheduler, setConfigRepositoryItemChangedProcessor, setDefaultFormatter, setDefaultPropertyAccessor, setDefaultPropertyAccessorPath, setDefinitionFile, setDisableSiteContextFiltering, setDocumentIdGenerator, setDocumentLevelOutputProperties, setDocumentSubmitter, setEnableIncrementalLoading, setEnableScheduledBulkLoading, setEveryItemOutputProperties, setFilterMap, setFilterOutDollarOutputPropertyNames, setForceDeleteGenerations, setForceIncrementalIndexingFromGeneration, setFormatterMap, setIncrementalLoader, setIncrementalUpdateSeconds, setIndexingSynchronizations, setIterationProducer, setJobDescription, setJobName, setManualIndexRequests, setMaxFailuresAllowedForCommitting, setMaxIncrementalChanges, setMaxIncrementalChangesPerGeneration, setMaxIndexedItems, setMaxNumberProcessItemThreads, setMonitorDerivedPropertiesModifier, setMonitorShadowRepositories, setOnPubServer, setProcessingPropertiesCallbacks, setPropertyAccessorMap, setRepository, setRepositoryItemGroup, setResourceBundleName, setRmiServer, setSchedule, setScheduler, setSiteIndexInfoService, setSynchronizedRepositories, setTargetName, setThreadedItemQueueBatchSize, setThreadMethod, setTransactional, setUnversionedRepositoryPath, setupContextForNewDocument, setUseConfigurationClaims, setUseThreadedIndexRequestQueue, setVariantProducers, setVersionedRepositoryPath, shouldCommitSession, shouldIncludeItem, shouldOutputDocument, startScheduledJob, stopPeriodicActivityUpdateThread, stopScheduledJob, superStartScheduledJob, unwrapVersionRepository, validateConfiguration, warnIfMisconfiguredForSearchAdmin, warnIfMisconfiguredForSearchAdminaddLogListener, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRef, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
public static java.lang.String CONTEXT_STATUS_REPORTER
protected java.util.Set<atg.repository.search.indexing.specifier.OutputProperty> mSetOutputProperties
public EndecaIndexingOutputConfig()
throws java.rmi.RemoteException
EndecaPropertyFormatterjava.rmi.RemoteExceptionpublic void setUseAtgSearchXmlFormat(boolean pUseAtgSearchXmlFormat)
RecordSubmitter the textual
output is ignored, and a Records *
instance is used instead.public boolean isUseAtgSearchXmlFormat()
RecordSubmitter the textual
output is ignored, and a Records *
instance is used instead.public void setAlwaysGenerateXml(boolean pAlwaysGenerateXml)
public boolean isAlwaysGenerateXml()
public void setAddDefaultOutputNameReplacements(boolean pAddDefaultOutputNameReplacements)
public boolean isAddDefaultOutputNameReplacements()
public void setReplaceWithTypePrefixes(java.lang.String[] pReplaceWithTypePrefixes)
public java.lang.String[] getReplaceWithTypePrefixes()
public void setPrefixReplacementMap(java.util.LinkedHashMap<java.lang.String,java.lang.String> pPrefixReplacementMap)
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getPrefixReplacementMap()
public void setSuffixReplacementMap(java.util.LinkedHashMap<java.lang.String,java.lang.String> pSuffixReplacementMap)
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getSuffixReplacementMap()
public java.util.Map<atg.repository.search.indexing.specifier.OutputProperty,PropertyTransformationRecord> getOutputPropertyToTransformations()
public void setDisallowedRequiredFlags(java.lang.String[] pDisallowedRequiredFlags)
public java.lang.String[] getDisallowedRequiredFlags()
public void setLoggingDebugPropertyMerging(boolean pLoggingDebugPropertyMerging)
public boolean isLoggingDebugPropertyMerging()
public void setIdOutputPropertyName(java.lang.String pIdOutputPropertyName)
public java.lang.String getIdOutputPropertyName()
public java.util.Set<atg.repository.search.indexing.specifier.OutputProperty> getSetOutputProperties()
public void setSiteIDsToIndex(java.lang.String[] pSiteIDsToIndex)
public java.lang.String[] getSiteIDsToIndex()
public void setIndexingApplicationConfiguration(IndexingApplicationConfiguration pIndexingApplicationConfiguration)
@NotNull public IndexingApplicationConfiguration getIndexingApplicationConfiguration()
public java.util.Locale[] getLocales()
public boolean getMultiLanguageSynonyms()
public void setSeparator(char pSeparator)
public char getSeparator()
public void setExcludedItemsAncestorIds(java.lang.String[] pExcludedItemsAncestorIds)
public java.lang.String[] getExcludedItemsAncestorIds()
public void setSiteRepositoryToQueryOverride(Repository pSiteRepositoryToQueryOverride)
public Repository getSiteRepositoryToQueryOverride()
public Repository getSiteRepositoryToQuery()
public RepositoryItem[] getSitesToIndex() throws RepositoryException
RepositoryExceptionpublic java.util.Map<java.lang.String,atg.repository.search.indexing.specifier.OutputProperty> getSourcePropertyPathToOutputProperty()
public void setSourcePropertyPathToOutputProperty(java.util.Map<java.lang.String,atg.repository.search.indexing.specifier.OutputProperty> pSourcePropertyPathToOutputProperty)
public boolean isForceToBaselineOnChange()
public void setForceToBaselineOnChange(boolean pForceToBaselineOnChange)
protected atg.repository.search.indexing.specifier.OutputItemSpecifier createOutputItemSpecifier()
createOutputItemSpecifier in class IndexingOutputConfigpublic void calculateOutputPropertyNames()
IndexingOutputConfigcalculateOutputPropertyNames in class IndexingOutputConfigprotected void createEmptyTransformationRecords(boolean pMeta)
protected void mungeAllOutputPropertyNames()
public PropertyTransformationRecord getTransformationRecord(atg.repository.search.indexing.specifier.OutputProperty pProperty)
pProperty - the property whose record to fetch.public void doStartService()
throws ServiceException
IndexingOutputConfigdoStartService in class IndexingOutputConfigServiceException - if the Service had a problem starting upprotected void calculateSourcePropertyPathToOutputProperty()
protected void addDefaultOutputNameReplacements()
public atg.repository.search.indexing.LoaderResults performPartialUpdate(IndexingTask pTask) throws IndexingException
IndexableperformPartialUpdate in interface IndexablepTask - the indexing task invoking the update. May be null
if called via another means.IndexingExceptionpublic atg.repository.search.indexing.LoaderResults processQueuedIncrementalUpdates(atg.search.index.IndexInfo pIndexInfo,
atg.repository.search.indexing.DocumentSubmitterSession pSession)
throws IndexingException
IndexingExceptionpublic java.lang.String[] getDocumentLevelOutputProperties()
getDocumentLevelOutputProperties in class IndexingOutputConfigprotected java.lang.String[] stringArrayReplaceString(java.lang.String[] pArray,
java.lang.String pMatch,
java.lang.String pReplace)
protected java.lang.String[] addInStrings(java.lang.String[] pStrings,
java.lang.String[] pRequiredStrings)
addInStrings in class IndexingOutputConfigpStrings - the source strings.pRequiredStrings - the strings to add if they aren't already
in the list.protected boolean isRequiredFlagDisallowed(java.lang.String pFlag)
protected boolean stringListContainsName(java.lang.String[] pList,
java.lang.String pName)
protected void mergeDuplicateProperties()
public java.util.List<atg.repository.search.indexing.specifier.OutputProperty> getOutputPropertiesAccessible(boolean pMeta)
public atg.repository.search.indexing.BulkLoaderResults performBaselineUpdate(IndexingTask pTask) throws IndexingException
IndexableThis is called "performBulkLoad" rather than "bulkLoad" so that MultiConfigLoader could implement it.
performBaselineUpdate in interface IndexablepTask - the indexing task invoking the update. May be null
if called via another means.IndexingExceptionpublic boolean isNeededForIncremental()
IndexableisNeededForIncremental in interface Indexablepublic boolean mayNeedCleanup()
IndexablemayNeedCleanup in interface Indexablepublic void postIndexingCleanup(IndexingTask pTask, boolean pSuccess, atg.repository.search.indexing.LoaderResults pResults) throws IndexingException
IndexablepostIndexingCleanup in interface IndexablepTask - the current indexing task, if any.pSuccess - true if we are cleaning up from a successful index,
false otherwise.pResults - the loader results (if any) returns from
performBaselineUpdate and performPartialUpdate.IndexingExceptionpublic boolean cancel(IndexingTask pTask, boolean pBaseline) throws IndexingException
cancel in interface IndexablepBaseline - true if this is a baseline/full index, false if
this is an incremental/partial index.IndexingExceptionpublic void afterSessionStart(Context pContext) throws IndexingException
IndexingOutputConfigafterSessionStart in interface atg.repository.search.indexing.IndexingSynchronizationafterSessionStart in class IndexingOutputConfigpContext - the Context for the current indexing operation. The
DocumentSubmitterSession is available as a property, as is
the IndexingOutputConfig and other state information.IndexingExceptionpublic boolean isSupportsStatusCounts()
IndexableisSupportsStatusCounts in interface Indexablepublic java.util.Set<java.lang.String> getIndexingOutputConfigPaths()
getIndexingOutputConfigPaths in interface Indexablepublic boolean isForceToBaseline()
isForceToBaseline in interface Indexabletrue if the job should be forced to baseline.protected atg.search.index.IndexInfo createDefaultIndexInfo()
createDefaultIndexInfo in class IndexingOutputConfigpublic atg.search.index.IndexInfo createTestIndexInfo()
throws IndexingException
IndexingOutputConfigcreateTestIndexInfo in class IndexingOutputConfigIndexingExceptionprotected javax.servlet.Servlet createAdminServlet()
GenericRMIServicecreateAdminServlet in class IndexingOutputConfigpublic Context createTestContext() throws IndexingException
IndexingExceptionpublic java.lang.String getTestRecordId()
public void setTestRecordId(java.lang.String pId)
throws IndexingException
IndexingExceptionpublic java.util.List<Record> generateTestRecords(java.lang.String pId) throws IndexingException
IndexingException