How can we improve Azure Search?

Possibility to delete all documents in an index without deleting and recreating the index

You should provide a possibility to delete all documents in an index without having to delete it and creating it again.

182 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Guillermo Bellmann shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    3 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Anonymous commented  ·   ·  Flag as inappropriate

        We need this for security and compliance - deleting the index and recreating it causes a scenario in production whereby the index may not always exist when a new document needs to be inserted into it.

        At least with a delete all, it will delete all the existing documents and either create an exclusive lock to pause new inserts or allow inserts which are held in a separate transaction.

      Feedback and Knowledge Base