Questions tagged [niofsdirectory]
2 questions
3
votes
1 answer
Lucene NIOFSDirectory and SimpleFSDirectory with multiple threads
My basic question is: what's the proper way to create/use instances of NIOFSDirectory and SimpleFSDirectory when there's multiple threads that need to make queries (reads) on the same index. More to the point: should an instance of the…

Shivan Dragon
- 15,004
- 9
- 62
- 103
2
votes
0 answers
Java 7 zipfs: File is also a folder
I've been using Java 7's ZipFS support.
https://gist.github.com/stain/5591420
shows the behaviour, which I find a bit odd. Basically you can create a ZIP file system, make a file with a given name, and then also make a folder with the same name.
The…

Stian Soiland-Reyes
- 182
- 3
- 8