# Indexing

**URL:** <https://discuss.elastic.co/t/indexing/5769>\
**Category:** Elasticsearch\
**Created:** [November 4, 2011, 10:28am UTC](https://discuss.elastic.co/t/indexing/5769 "2011-11-04T10:28:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BARNEY](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@BARNEY](https://discuss.elastic.co/u/BARNEY)\
**Post date:** [November 4, 2011, 10:28am UTC](https://discuss.elastic.co/t/indexing/5769/1 "2011-11-04T10:28:11Z")

</div>

Hi,  
I indexed two documents into elasticsearch when I was having some IP.  
Now my IP has been changed and using mobz(web interface for  
elasticsearch),but its not showing my previous indexes(http://  
localhost:9200),even in elasticsearch data folder also.

how indexing happening after creating cluster?  
What will happen if u have more than one cluster on the same machine?

Thanks,  
kalyan

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 8, 2011, 3:08am UTC](https://discuss.elastic.co/t/indexing/5769/2 "2011-11-08T03:08:38Z")

</div>

I am not sure I understand the question. The IP address does not reflect  
anything regarding the cluster created, or where / how the data is stored.

If you look at the data directory, you will see the first folder is the  
cluster name (elasticsearch by default), and the folder after it are  
nodes/0|1|2|..., which allows to start several nodes on the same machine.

On Fri, Nov 4, 2011 at 12:28 PM, kalyan [kalyanc007@gmail.com](mailto:kalyanc007@gmail.com) wrote:

> Hi,  
> I indexed two documents into elasticsearch when I was having some IP.  
> Now my IP has been changed and using mobz(web interface for  
> elasticsearch),but its not showing my previous indexes(http://  
> localhost:9200),even in elasticsearch data folder also.
> 
> how indexing happening after creating cluster?  
> What will happen if u have more than one cluster on the same machine?
> 
> Thanks,  
> kalyan

---

<div class="post-metadata">

**Author:** ![BARNEY](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@BARNEY](https://discuss.elastic.co/u/BARNEY)\
**Post date:** [November 8, 2011, 4:10am UTC](https://discuss.elastic.co/t/indexing/5769/3 "2011-11-08T04:10:30Z")

</div>

Ok,Shay.  
I am facing one more problem.I have machine having cluster name  
elasticsearch,2 shards and 1 replica.  
Now If I up the another machine with the same cluster name in the same  
network,Replica is not creating on the 2nd machine(It is not detecting it  
automatically).Can u please tell me how to debug this?

On Tue, Nov 8, 2011 at 8:38 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> I am not sure I understand the question. The IP address does not reflect  
> anything regarding the cluster created, or where / how the data is stored.
> 
> If you look at the data directory, you will see the first folder is the  
> cluster name (elasticsearch by default), and the folder after it are  
> nodes/0|1|2|..., which allows to start several nodes on the same machine.
> 
> On Fri, Nov 4, 2011 at 12:28 PM, kalyan [kalyanc007@gmail.com](mailto:kalyanc007@gmail.com) wrote:
> 
> > Hi,  
> > I indexed two documents into elasticsearch when I was having some IP.  
> > Now my IP has been changed and using mobz(web interface for  
> > elasticsearch),but its not showing my previous indexes(http://  
> > localhost:9200),even in elasticsearch data folder also.
> > 
> > how indexing happening after creating cluster?  
> > What will happen if u have more than one cluster on the same machine?
> > 
> > Thanks,  
> > kalyan

---

<div class="post-metadata">

**Author:** ![avinash\_nalluri](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@avinash\_nalluri](https://discuss.elastic.co/u/avinash_nalluri)\
**Post date:** [November 8, 2011, 3:53pm UTC](https://discuss.elastic.co/t/indexing/5769/4 "2011-11-08T15:53:55Z")

</div>

Thanks Shay  
But Sometimes my directory structure nodes directory getting emptied  
if I changed network.

On Nov 8, 8:08 am, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> I am not sure I understand the question. The IP address does not reflect  
> anything regarding the cluster created, or where / how the data is stored.
> 
> If you look at the data directory, you will see the first folder is the  
> cluster name (elasticsearch by default), and the folder after it are  
> nodes/0|1|2|..., which allows to start several nodes on the same machine.
> 
> On Fri, Nov 4, 2011 at 12:28 PM, kalyan [kalyanc...@gmail.com](mailto:kalyanc...@gmail.com) wrote:
> 
> > Hi,  
> > I indexed two documents into elasticsearch when I was having some IP.  
> > Now my IP has been changed and using mobz(web interface for  
> > elasticsearch),but its not showing my previous indexes(http://  
> > localhost:9200),even in elasticsearch data folder also.
> 
> > how indexing happening after creating cluster?  
> > What will happen if u have more than one cluster on the same machine?
> 
> > Thanks,  
> > kalyan

---

<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:** [July 6, 2017, 3:49am UTC](https://discuss.elastic.co/t/indexing/5769/5 "2017-07-06T03:49:33Z")

</div>


