org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path=\"C:\\opensearchserver-1.5.3-b560\\opensearchserver\\data\\ARES\\index\\_f1.tis\")

opensearchserve | yousseftiani | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Privileges and File index

    opensearchserve | 3 years ago | yousseftiani
    org.apache.lucene.store.AlreadyClosedException: MMapIndexInput already closed: MMapIndexInput(path=\"C:\\opensearchserver-1.5.3-b560\\opensearchserver\\data\\ARES\\index\\_f1.tis\")

    Root Cause Analysis

    1. org.apache.lucene.store.AlreadyClosedException

      MMapIndexInput already closed: MMapIndexInput(path=\"C:\\opensearchserver-1.5.3-b560\\opensearchserver\\data\\ARES\\index\\_f1.tis\")

      at org.apache.lucene.store.MMapDirectory$MMapIndexInput.readByte()
    2. Lucene
      DirectoryReader$MultiTermEnum.next
      1. org.apache.lucene.store.MMapDirectory$MMapIndexInput.readByte(MMapDirectory.java:291)
      2. org.apache.lucene.store.DataInput.readVInt(DataInput.java:107)
      3. org.apache.lucene.index.TermBuffer.read(TermBuffer.java:64)
      4. org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:133)
      5. org.apache.lucene.index.SegmentMergeInfo.next(SegmentMergeInfo.java:72)
      6. org.apache.lucene.index.DirectoryReader$MultiTermEnum.next(DirectoryReader.java:1108)
      6 frames
    3. com.jaeksoft.searchlib
      ThreadAbstract.run
      1. com.jaeksoft.searchlib.autocompletion.AutoCompletionBuildThread.buildTermEnum(AutoCompletionBuildThread.java:127)
      2. com.jaeksoft.searchlib.autocompletion.AutoCompletionBuildThread.runner(AutoCompletionBuildThread.java:186)
      3. com.jaeksoft.searchlib.process.ThreadAbstract.run(ThreadAbstract.java:263)
      3 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames