Hi, when data is replicated across the nodes, indexes are replicated as well, and the index can also be loaded from a persistent store.
Your issue is that the index is configured to be stored in "ram", and that is not persisted during restarts. Try to use the following config:
default.directory_provider = filesystem
default.indexmanager = near-real-time
default.indexBase = /path/to/index/folder
For full reference please refer to Hibernate Search
Can we use infinispan as directory provider as when using a cluster we might need to replicate the index data in multiple nodes ?
Or is filesystem good for multinode scenario as well.