Class FsDirectoryService

    • Field Detail

      • INDEX_LOCK_FACTOR_SETTING

        public static final Setting<org.apache.lucene.store.LockFactory> INDEX_LOCK_FACTOR_SETTING
    • Method Detail

      • newDirectory

        public org.apache.lucene.store.Directory newDirectory()
                                                       throws java.io.IOException
        Specified by:
        newDirectory in class DirectoryService
        Throws:
        java.io.IOException
      • newFSDirectory

        protected org.apache.lucene.store.Directory newFSDirectory​(java.nio.file.Path location,
                                                                   org.apache.lucene.store.LockFactory lockFactory)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException