Class IndexerInfo


  • public class IndexerInfo
    extends Object
    Represents the index data created by oak-run tooling on the file system. It looks for 'indexer-info.properties' file in given directory to read the check point information. Then for each sub directory it looks for 'index-details.txt' file which contains index specific implementation details. It looks for property 'indexPath' which is used to associate the index data to index location in repository
    • Field Detail

      • INDEXER_META

        public static final String INDEXER_META
        File name stored in final index directory which contains meta information like checkpoint details. This can be used by importer while importing the indexes
        See Also:
        Constant Field Values
      • INDEX_METADATA_FILE_NAME

        public static final String INDEX_METADATA_FILE_NAME
        Name of meta file which stores the index related meta information in properties file format
        See Also:
        Constant Field Values
      • PROP_INDEX_PATH

        public static final String PROP_INDEX_PATH
        Property name in index-details.txt which refers to the index path in repository
        See Also:
        Constant Field Values
      • checkpoint

        public final String checkpoint
    • Constructor Detail

      • IndexerInfo

        public IndexerInfo​(File rootDir,
                           String checkpoint)