Hi Uwe,
Unfortunately my IDE (Intellij) does not warn me about calling a static method
on a different class name, a nice idea I shall request the feature.
Anyway, my suggestion to avoid the confusion still holds; that the FSDirectory
open method is overridden in the subclasses, thus "NIOFSDire
Hi,
> Thanks for that, I had not realised that the open method was simply
> inherited from the FSDirectory, I should have read the docs.
>
> However, it makes no sense to me that a call to NIOFSDirectory.open() can
> end up opening a MMapDirectory, and in general that a call to one subclass
> can
Thanks for that, I had not realised that the open method was simply inherited
from the FSDirectory, I should have read the docs.
However, it makes no sense to me that a call to NIOFSDirectory.open() can end
up opening a MMapDirectory, and in general that a call to one subclass can end
up openin
If you want a specific directory implementation, instantiate it directly (new
NIOFSDirectory)? If you use FSDirectory.open() it will use the autodetected one
depending on OS and bitness.
About configuring your server from MMAP in a correct way, read
http://blog.thetaphi.de/2012/07/use-lucenes-m