# Cloning using DotNet Client

**URL:** <https://discuss.elastic.co/t/cloning-using-dotnet-client/318503>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [November 9, 2022, 5:50am UTC](https://discuss.elastic.co/t/cloning-using-dotnet-client/318503 "2022-11-09T05:50:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abby\_d](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abby_d/32/113123_2.png) [@abby\_d](https://discuss.elastic.co/u/abby_d)\
**Post date:** [November 9, 2022, 5:50am UTC](https://discuss.elastic.co/t/cloning-using-dotnet-client/318503/1 "2022-11-09T05:50:44Z")

</div>

Hi All.  
We can clone an index with one of the following commands in Console

```auto
POST /<index>/_clone/<target-index>
PUT /<index>/_clone/<target-index>

```

Can someone point me in the direction how we can achieve the same using Dot Net Nest High Level Client as found here.

> **[Introduction | Elasticsearch .NET Clients \[7.17\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/introduction.html)**

---

<div class="post-metadata">

**Author:** ![tatdat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tatdat/32/113160_2.png) [@tatdat](https://discuss.elastic.co/u/tatdat)\
**Post date:** [November 9, 2022, 6:41am UTC](https://discuss.elastic.co/t/cloning-using-dotnet-client/318503/2 "2022-11-09T06:41:40Z")

</div>

Welcome friend!  
I think reindex data is the answer 😊

[Reindexing documents | Elasticsearch .NET Clients [7.17] | Elastic](https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/reindexing-documents.html)

> Sometimes there is a need to reindex documents from one index to another. The client provides two different methods for reindexing documents, `ReindexOnServer` and `Reindex`

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 9, 2022, 7:00am UTC](https://discuss.elastic.co/t/cloning-using-dotnet-client/318503/3 "2022-11-09T07:00:32Z")

</div>

I think you will need to use the low level client for that. There does not seem to be any support in the high level client.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 7, 2022, 7:01am UTC](https://discuss.elastic.co/t/cloning-using-dotnet-client/318503/4 "2022-12-07T07:01:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
