Skip to Content
author's profile photo Former Member
Former Member

Clean up temp-hmc file in luceneindex folder

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2017 at 09:31 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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?

  • author's profile photo Former Member
    Former Member
    Posted on Aug 16, 2015 at 07:43 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2015 at 11:52 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 23, 2016 at 05:32 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.