Absolutely, I am more than happy to ensure you are well supported. Before sharing some snippets with you to re-use, is there anything specific you’re using or would like to use in your cluster? If so, I can prepare some snippets that cover everything, so you won’t have to face that again.
Otherwise, please make sure you go through the mutability list to familiarize yourself with what can be re-configured after creation.
If you’d like, you can share your schema creation method with me, and I’d be happy to tweak it programmatically for you as well.
@Shahin Thank you for your response. However, I wanted to see more on the data migration part from my old collection to the new one where the index_timestamp is set to true. I’m facing issue with how I can migrate the references of each object.
The below is a sample code I’ve got:
def migrate_data(collection_src:Collection, collection_tgt:Collection):
with collection_tgt.batch.fixed_size(batch_size=20) as batch:
for q in tqdm(collection_src.iterator(include_vector=True,return_references=QueryReference(
link_on="hasMetaData",
return_properties=["metadata"]
))):
batch.add_object(
properties=q.properties,
vector=q.vector["default"],
uuid=q.uuid,
)
return True