Support » Plugin: WooCommerce Order Search Admin » Limit indexing

  • Steve

    (@steveholland)


    How do I limit the index to the 10,000 most recent orders?

    I do not wish to expand the index beyond the free limit.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I would also like to know the answer to this question. However the developers haven’t answered in over two months and the plugin hasn’t been updated in over 9 months.

    I’m wondering if this plugin abandoned?

    Plugin Author rayrutjes

    (@rayrutjes)

    Hey there,

    My time on this project is currently a bit limited, sorry about that.

    A few users have asked to only retain recent orders, however this would need a bit of work to be functional.

    We would need to check if a given order is in configured bounds when pushing changes but also introduce probably a cron job to garbage collect out of bounds orders.

    It’s potentially something I’d like to implement unfortunately, like you mentioned, I haven’t really been able to allocate much time to this recently. I do know the plugin is used by a lot of big websites, so I want to be careful with big changes and take proper time to test them.

    Maybe a first step would be to introduce a time window condition when sending orders. Such that you could every now and then just re-index everything to get rid of old orders without having to mess with automated garbage collection. Does that sound like a reasonable solution?

    Even just adding some type of date filter would be helpful.

    Thank you @rayrutjes, your time and consideration are truly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.