How soon after creating an index can I do an upsert

How soon after creating an index can I do an upsert? I had problems with the delay in initializing an index, but I don’t know if it’s something exclusive to the free plan.

Hi. The index needs to be in a ‘ready’ status for it to be able to start taking upserts. The amount of time for an index varies on the size, type and whether it’s being created from a collection. It is not related to a free or paid plan. The pods are the same. If you feel like there is an issue initializing the index, please put in a support ticket at https://support.pinecone.io.

I found this article which helped me: https://support.pinecone.io/hc/en-us/articles/7985415079453-How-do-I-keep-my-customer-data-separate-in-Pinecone-. I’m going to change the approach I use to store in indexes that already exists.

Thanks!

Is there a way to check index status (wait for “ready”), or otherwise have a reactive/responsive callback for when it is ready?

For me, the average “Start time” has been about 3 minutes (smallest pod size). I imagine the pod size varies the time and/or if you are loading a collection.

However, no need to guess. Just hit the endpoint from the SDK or via cURL

Response JSON body will include a status key that has a child key called ready that is true or false. Just wait for that to say true and you are good