public class SearchIndexerUpdateStrategyLastModified extends AbstractCrawlingDeltaSearchIndexer
SearchIndexerUpdateStrategy for
SearchIndexerSource.UPDATE_STRATEGY_VCS.CONTEXT_VARIABLE_ENTRY_UPDATE_VISITOR, CONTEXT_VARIABLE_RESOURCE_URI_SET| Constructor and Description |
|---|
SearchIndexerUpdateStrategyLastModified()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected CountingEntryUpdateVisitor |
createEntryUpdateVisitor()
This method creates the
CountingEntryUpdateVisitor to use. |
protected ChangeType |
getChangeType(BrowsableResource resource,
UpdateStrategyArguments arguments)
This method determines the
ChangeType of the given
resource. |
protected void |
postIndex(UpdateStrategyArguments arguments)
This method is called at the end of
AbstractSearchIndexerUpdateStrategy.index(UpdateStrategyArguments)
to complete the indexing. |
protected void |
removeNotVisitedResourceEntries(UpdateStrategyArguments arguments)
This method removes all entries from the search-indexer that have NOT been
visited during the indexing/crawling. |
indexisResponsibledoInitialize, getEntryUpdateVisitor, getIndexerDependencies, index, indexRecursive, indexRecursive, isFullIndexing, preIndex, setIndexerDependenciescreateLogger, getLoggerdoInitialized, getInitializationState, initializepublic SearchIndexerUpdateStrategyLastModified()
protected CountingEntryUpdateVisitor createEntryUpdateVisitor()
CountingEntryUpdateVisitor to use.createEntryUpdateVisitor in class AbstractSearchIndexerUpdateStrategyCountingEntryUpdateVisitor.ResourceSearchIndexer.index(net.sf.mmm.search.indexer.api.SearchIndexer,
net.sf.mmm.util.resource.api.DataResource, ChangeType,
SearchIndexerDataLocation, EntryUpdateVisitor)protected ChangeType getChangeType(BrowsableResource resource, UpdateStrategyArguments arguments)
ChangeType of the given
resource.getChangeType in class AbstractSearchIndexerUpdateStrategyresource - is the BrowsableResource for which to determine the
ChangeType.arguments - are the UpdateStrategyArguments.ChangeType indicating how the given
resource shall be updated or null to
indicate that the resource shall remain unchanged.SearchIndexerSourceState.getIndexingDate()protected void postIndex(UpdateStrategyArguments arguments)
AbstractSearchIndexerUpdateStrategy.index(UpdateStrategyArguments)
to complete the indexing.postIndex in class AbstractSearchIndexerUpdateStrategyarguments - are the UpdateStrategyArgumentsBean.protected void removeNotVisitedResourceEntries(UpdateStrategyArguments arguments)
visited during the indexing/crawling.arguments - are the UpdateStrategyArguments.createEntryUpdateVisitor()Copyright © 2001–2016 mmm-Team. All rights reserved.