Class CreateSearchDocAction

  • All Implemented Interfaces:
    gov.nasa.jpl.oodt.cas.commons.spring.SpringSetIdInjectionType

    public class CreateSearchDocAction
    extends gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
    Class that generates the Solr docs.
    Author:
    mcayanan
    • Constructor Detail

      • CreateSearchDocAction

        public CreateSearchDocAction​(File configDir,
                                     File outputDir,
                                     SearchDocState searchDocState)
                              throws gov.nasa.pds.search.core.exception.SearchCoreException,
                                     gov.nasa.pds.search.core.exception.SearchCoreFatalException
        Throws:
        gov.nasa.pds.search.core.exception.SearchCoreException
        gov.nasa.pds.search.core.exception.SearchCoreFatalException
    • Method Detail

      • performAction

        public boolean performAction​(File product,
                                     gov.nasa.jpl.oodt.cas.metadata.Metadata productMetadata)
                              throws gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException
        Specified by:
        performAction in class gov.nasa.jpl.oodt.cas.crawl.action.CrawlerAction
        Throws:
        gov.nasa.jpl.oodt.cas.crawl.structs.exceptions.CrawlerActionException
      • setCacheCollection

        public void setCacheCollection​(boolean flag)