Class ArchiveFileStore

java.lang.Object
org.ctan.site.stores.ArchiveFileStore
All Implemented Interfaces:
IndexingStore

public class ArchiveFileStore extends Object implements IndexingStore
The class ArchiveFileStore contains the repository for archive files.
  • Constructor Details

    • ArchiveFileStore

      public ArchiveFileStore(@NonNull @NonNull CtanConfiguration.TexArchiveConfig config, @NonNull @NonNull IndexingSession indexingSession)
      This is the constructor for the ArchiveFileStore.
      Parameters:
      config - the configuration
      indexingSession - the indexing session
  • Method Details

    • updateIndex

      public void updateIndex() throws org.apache.lucene.index.CorruptIndexException, IOException
      The method updateIndex provides means to update all entries in the database. Note that entries which are gone are not removed!
      Specified by:
      updateIndex in interface IndexingStore
      Throws:
      org.apache.lucene.index.CorruptIndexException - in case of an error in an index
      IOException - in case of an I/O error
      See Also: