Class ContentTracker

  • All Implemented Interfaces:
    Tracker

    public class ContentTracker
    extends ActivatableTracker
    This tracker queries for docs with unclean content, and then updates them. Similar to org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerImpl
    Author:
    Ahmed Owian
    • Field Detail

      • log

        protected static final org.slf4j.Logger log
    • Constructor Detail

      • ContentTracker

        public ContentTracker​(java.util.Properties p,
                              org.alfresco.solr.client.SOLRAPIClient client,
                              java.lang.String coreName,
                              InformationServer informationServer)
    • Method Detail

      • doTrack

        protected void doTrack​(java.lang.String iterationId)
                        throws java.lang.Exception
        Description copied from class: AbstractTracker
        Subclasses must implement behaviour that completes the following steps, in order:
        1. Purge
        2. Reindex
        3. Index
        4. Track repository
        Specified by:
        doTrack in class AbstractTracker
        Parameters:
        iterationId - an identifier which is uniquely associated with a given iteration.
        Throws:
        java.lang.Exception
      • hasMaintenance

        public boolean hasMaintenance()
      • maintenance

        public void maintenance()