I am using spring based James3.8 for mail processing and using mysql db for mail storage. On the james package i observed that there is a directory structure gets created {JamesHome}/var/store/lucene and it has multiple files which keeps growing everytime a msg/mail is processed. Since am not using lucene based indexing to perform search can it be disabled. Since it keeps increasing in size its leading to higher disk usage. Can anyone suggest how to disable this?
Initially I had no idea what Lucene was and used for. Later learnt Lucene is using for indexing for quick search and is the fastest in searching as it splits document and indexes the word that helps quick search. But since I am not using for any searching of msgs, it is of no use and hence want to disable this and avoid disk usage, can you please help?