I’m wondering if it’s possible to replace Lucene filesystem storage with some other like memory cache - for example Redis. Creation of lucene index (storage folder) takes a lot of time for bigger websites during warmup. In some cases I experienced 40 minutes warmup due to indexing operation. I think that moving this to Redis might speed up startup operation.
Is it anyhow possible? I found that there is DirectoryManager class and we can provide our own implementation of getDirectoryManager() to override default behaviour and return our own manager implementation.
Do you have any experience with this? Do you think that it’s possible and worth effotr trying to keep this index in-memory to speed up and make it possible to share index between instances in cluster?
Maybe it’s somewhere out of the box in lucene and I’m not able to find it?
Thank you very much in advance for any help/tips.