# \[Question\] Merging multiple index's into a new one

**URL:** https://forum.weaviate.io/t/question-merging-multiple-indexs-into-a-new-one/2900
**Category:** Support
**Created:** [July 2, 2024, 9:47am UTC](https://forum.weaviate.io/t/question-merging-multiple-indexs-into-a-new-one/2900 "2024-07-02T09:47:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ghattas\_Salloum](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/ghattas_salloum/32/1863_2.png) [@Ghattas\_Salloum](https://forum.weaviate.io/u/Ghattas_Salloum)
#### Post date: [July 2, 2024, 9:47am UTC](https://forum.weaviate.io/t/question-merging-multiple-indexs-into-a-new-one/2900/1 "2024-07-02T09:47:05Z")

</div>

Hey,  
thanks for great work,  
i am trying to write a python code that can merge multiple index’s into a new one using weavite v4 api.  
The merged index’s are already vectorized i only need to merge them into a new index along with there vectors.

can you please help me on how to do that?

Thanks in advance for help

---

<div class="post-metadata">

### Author: ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)
#### Post date: [July 3, 2024, 7:21pm UTC](https://forum.weaviate.io/t/question-merging-multiple-indexs-into-a-new-one/2900/2 "2024-07-03T19:21:55Z")

</div>

hi @Ghattas_Salloum !!

Welcome to our community!

You need to copy over two collections into one?

If that’s the case, you can probably use our migration guide as a starting point:

> **[Migrate data | Weaviate - Vector Database](https://weaviate.io/developers/weaviate/manage-data/migrate)**
>
> Overview

Let me know if this is your objective and if this helps you.

Thanks!

---

<div class="post-metadata">

### Author: ![Ghattas\_Salloum](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/ghattas_salloum/32/1863_2.png) [@Ghattas\_Salloum](https://forum.weaviate.io/u/Ghattas_Salloum)
#### Post date: [July 12, 2024, 8:25am UTC](https://forum.weaviate.io/t/question-merging-multiple-indexs-into-a-new-one/2900/3 "2024-07-12T08:25:35Z")

</div>

Thanks for reply,

the problem i am having is when doing migration it is revectorizing the data again even though it has been already vectorized

and i couldn’t find a way around it so i decided not to vectorize the data at the beginning but do that when i migrate

any thanks for help

---

<div class="post-metadata">

### Author: ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)
#### Post date: [July 15, 2024, 6:47pm UTC](https://forum.weaviate.io/t/question-merging-multiple-indexs-into-a-new-one/2900/4 "2024-07-15T18:47:36Z")

</div>

Hi!

If your target collection has a vectorizer properly configured, and you do not provide the vectors, Weaviate will trigger the vectorization of that objects.

To avoid that, you can provide the vector for that object. This is what we call `bring your own vectors`

Check here for more on that:

> **[Bring your own vectors | Weaviate - Vector Database](https://weaviate.io/developers/weaviate/starter-guides/custom-vectors)**
>
> Weaviate is a vector database. Vector databases store data objects and vectors that represent those objects. The vector representation is also called an "embedding."

Let me know if you need assistance on that!

Thanks!

---

<div class="post-metadata">

### Author: ![Ghattas\_Salloum](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/ghattas_salloum/32/1863_2.png) [@Ghattas\_Salloum](https://forum.weaviate.io/u/Ghattas_Salloum)
#### Post date: [July 18, 2024, 9:51am UTC](https://forum.weaviate.io/t/question-merging-multiple-indexs-into-a-new-one/2900/5 "2024-07-18T09:51:14Z")

</div>

Thanks for help  
I will try that
