cancel
Showing results for 
Search instead for 
Did you mean: 

Clean up temp-hmc file in luceneindex folder

Former Member
0 Kudos

The folder hybris-commerce-suite-5-2/hybris/data/luceneindex has lot of temp-hmc* files. The lucene index is used by hmc. is it okay to delete these temp-hmc* files manually. Is there a process for deleting these from the hmc.

Former Member
0 Kudos

I am also facing the same issue, it would be great help if someone guide us.

Accepted Solutions (1)

Accepted Solutions (1)

former_member1234052
Active Participant
0 Kudos

These temp-hmc files can be removed manually. Normally the lucene cronjob should remove them but I believe it’s not doing it by default. There is a low chance to encounter any issue after they are deleted, it’s an old hmc index, it’s just going to be a bit slower.

Significantly, to avoid having huge indexes, make sure the variable update.index.configuration is set to true during a system update of lucenesearch. This will make sure old indexes are deleted before being rebuilt. For more info on the process, check here.

Former Member
0 Kudos

Hi Przemyslaw, If we remove the older temp- lucene index files. WIll that cause any issue with hmc? And is there any way we can configure cronjob to remove old temp- index file, before create new one?

Answers (3)

Answers (3)

jagbedi
Explorer
0 Kudos

was there a resolution to this? Is it safe to remove these files...i'm thinking no, since their inside the /data folder, but would like a reason what they're being used for.

Former Member
0 Kudos

Anyone with any idea on this one - ours is 24gb now.

Former Member
0 Kudos

Is there a way we can schedule a cron to delete these temp files?