YeonghyeonKO opened a new pull request, #14081:
URL: https://github.com/apache/lucene/pull/14081
### Description
- Lucene decides to open segment files whether JRE_IS_64BIT is true or false
as below:
```java
public static FSDirectory open(Path path, LockFactory lockFactory) throws
IOException {
if (Constants.JRE_IS_64BIT) {
return new MMapDirectory(path, lockFactory);
} else {
return new NIOFSDirectory(path, lockFactory);
}
}
```
- In FSDirectory.java and NIOFSDirectory.java, there are url links
describing why NIOFSDirectory is not appropriate way to open file only for
Windows. Unfortunately these are no longer valid url for now, so I fixed in
this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]