In NxRM3, if the 'elasticsearch' folder is deleted it will be recreated (and by the looks of it, rebuilt) on start-up however the repositories are not search until the 'Repair - Rebuild repository search' task is run.
Steps to reproduce
- ensure you have an NxRM3 instance running that is searchable (using the UI)
- stop the instance
- delete the 'elasticsearch' folder
- restart the instance
The elasticsearch folder is recreated and indexes rebuilt on start-up so searches work.
The elasticsearch folder is recreated and the indexes within look to be built however searches (that previously worked) do not return anything. An index rebuild task needs to be run before it is searchable.
- I understand this may not be a bug, the initial rebuild of the index on start-up may just be creating stubs/just the lucene schema - and a rebuild task MUST be run in which case please us know.
- The setting nexus.elasticsearch.autoRebuild appears to make no difference.