- Abhijit Ghosh, TRT Engineer @ Adobe
Content services uses the filesystem to store Apache Lucene indexes (/lucene-indexes). At times we are faced with the need of re-building indexes hence just wanted to summarize the ways in which the same can be achieved:
1. Include the JVM argument –Dindex.recovery.mode=FULL and restart the server.
2. Stop the server, delete the lucene indexes under the index root directory and restart the server.
3. Change the index directory to a different location during restart so that indexes are re-built again.