Search code examples
sap-commerce-cloud

Is it possible to remove records from an itemtype using Flexible search service?


Is it possible to remove records from an itemtype using Flexible search service? As far as i know, Flexible search is only used for SELECT Operations.

Please suggest ways to remove records from an itemtype using a cron job? Thanks, Appreciate a lot.


Solution

  • Flexible search queries are not made to manipulate data (source), if you want to delete data you could :

    • Use the Model Service
    • Run an impex file with the remove header (source)