skip to Main Content

I want all the documents to be removed from a particular index in Redisearch. I have come across commands for deleting records with the documentid known. Can we delete all the records without using documentids?

Please suggest something. Thank you.

2

Answers


  1. Could you just drop the index FT.DROPINDEX and recreate it?

    Login or Signup to reply.
  2. Probably already solved in your case, but since the google sends here as one of the first result and it’s still not resolved:
    Use FT.DROP "indexName".
    It’s not to be found in the official documentation list but for me it worked.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search