Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Deleted and recreate datastore without purge

Hey,

We had an database with a 100 files. But because we wanted to change de store to an search solution instead of chat solution, we had to remove it. After a couple of hours (we had to wait a couple of hours before we could create a store under the same id), we made a new one

Now somehow, even when the new store is empty, i can ask questions about documents that were in the datastore before. Is this because i didn't purged all documents before deleting?

If yes, is there a way to clean that datastore? So i can start from zero?

As you can see in the image, i asked a question about an Lenovo (an document that was in the store before deleting)
In the response it gives the document whare the answer is be found, also the answer is provided.

JoVa_0-1726297548112.png

JoVa_1-1726297649573.png

However, if i search for this document in Postman, so i can delete it mannualy, it says it doesn't excist

JoVa_2-1726297757437.png

Has someone got the same issue, and managed to solve this?

Thanks for helping!

0 1 134
1 REPLY 1

Hi @JoVa,

Welcome to Google Cloud Community!

Before deleting a data store, you must purge all data from it, whether it’s structured, unstructured, or healthcare data. Additionally, you can purge the data to clear the contents before re-importing new data. This process removes only the data, keeping your app, schema, and configurations unchanged. 

Furthermore, you can't delete a data store that is connected to an app. If your data store is connected to an app, you must delete the app that it is connected to.

For more information, refer to this documentation, which outlines the procedure for the following:

I hope the above information is helpful.