Indexing


(BARNEY) #1

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


(Shay Banon) #2

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 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


(BARNEY) #3

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 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 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


(avinash.nalluri) #4

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 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 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


(system) #5