Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
5.0
-
None
-
None
-
New
Description
org.apache.lucene.store.FSDirectory.open(Path, LockFactory) and org.apache.lucene.store.FSDirectory.open(Path) always assume the path is created on the default file system. If the path is not on the default file system MMapDirectory is the wrong choice as only the default file system can provide mmap().
In case of a non default file system SimpleFSDirectory is a good choice.
See this bug for an example
https://github.com/marschall/memoryfilesystem/issues/113
Attachments
Issue Links
- relates to
-
LUCENE-5945 Full cutover to Path api from java.io.File
- Closed
- links to