Search code examples
hibernateamazon-web-servicesspring-mvcinfinispanamazon-efs

Can I store Lucene Search Index‎ in Amazon elastic file system (EFS) as an alternative to a system directory


I would like to know if it is possible to store Lucene Search Index‎ in Amazon elastic file system (EFS) as an alternative to a system directory provider(such as that used in hibernate search in java i.e hibernate.search.default.indexBase. And if so what is the best way to implement this. Thanks in advance?


Solution

  • So far there has been with issues on search and index performance degradation with Apache Lucene running on NFS. As EFS supports NFS. Storing Lucene search index on AWS NFS would most likely cause the Linux to lock up and give a load of error messages by default. By experience, In the long run EFS is based on NFS and it isn’t good(at least so far) to use it with lucene.