Questions about ElasticSearch - For Beginner


(Vasconcelos) #1

Hi all

I'm a beginner in elasticsearch, and i have some questions:

1)Exists some book of ElasticSearch?
2)To add a new node i just need to start a new instance of
Elasticsearch in other machine located in the same network?
3)Suppose i have two machines with elasticsearch. I need to configure
apache as front end with mod-proxy to search in index to garantee
failover?
4)Elasticsearch has some administration page?

Thanks


(David Pilato) #2
  1. No
  2. yes
  3. No. ES does it for you
  4. not really but you have rest endpoints and you can use :
    https://github.com/mobz/elasticsearch-head
    https://github.com/lukas-vlcek/bigdesk

HTH
David :wink:
@dadoonet

Le 1 févr. 2012 à 02:40, Anderson vasconcelos anderson.vass@gmail.com a écrit :

Hi all

I'm a beginner in elasticsearch, and i have some questions:

1)Exists some book of ElasticSearch?
2)To add a new node i just need to start a new instance of
Elasticsearch in other machine located in the same network?
3)Suppose i have two machines with elasticsearch. I need to configure
apache as front end with mod-proxy to search in index to garantee
failover?
4)Elasticsearch has some administration page?

Thanks


(Vasconcelos) #3

Thanks for the response.

  1. I start tow machines and change the name of cluster and the name of
    nodes. Elasticsearch just discovery the new node just when i put in
    discovey.zen.ping.unicast.hosts the ip of host, thats correct?

2)When i search in index, i need to use only one URL like
http://solrcluster and this url will search all nodes. Hi i do this
with Elasticsearch without apache mod_proxy.

Thanks

2012/2/1, David Pilato david@pilato.fr:

  1. No
  2. yes
  3. No. ES does it for you
  4. not really but you have rest endpoints and you can use :
    https://github.com/mobz/elasticsearch-head
    https://github.com/lukas-vlcek/bigdesk

HTH
David :wink:
@dadoonet

Le 1 févr. 2012 à 02:40, Anderson vasconcelos anderson.vass@gmail.com a
écrit :

Hi all

I'm a beginner in elasticsearch, and i have some questions:

1)Exists some book of ElasticSearch?
2)To add a new node i just need to start a new instance of
Elasticsearch in other machine located in the same network?
3)Suppose i have two machines with elasticsearch. I need to configure
apache as front end with mod-proxy to search in index to garantee
failover?
4)Elasticsearch has some administration page?

Thanks


(Vasconcelos) #4

3)Exists some API to index objects in ElasticSearch? Some API that
uses Annotations?

Thanks

2012/2/1, Anderson vasconcelos anderson.vass@gmail.com:

Thanks for the response.

  1. I start tow machines and change the name of cluster and the name of
    nodes. Elasticsearch just discovery the new node just when i put in
    discovey.zen.ping.unicast.hosts the ip of host, thats correct?

2)When i search in index, i need to use only one URL like
http://solrcluster and this url will search all nodes. Hi i do this
with Elasticsearch without apache mod_proxy.

Thanks

2012/2/1, David Pilato david@pilato.fr:

  1. No
  2. yes
  3. No. ES does it for you
  4. not really but you have rest endpoints and you can use :
    https://github.com/mobz/elasticsearch-head
    https://github.com/lukas-vlcek/bigdesk

HTH
David :wink:
@dadoonet

Le 1 févr. 2012 à 02:40, Anderson vasconcelos anderson.vass@gmail.com a
écrit :

Hi all

I'm a beginner in elasticsearch, and i have some questions:

1)Exists some book of ElasticSearch?
2)To add a new node i just need to start a new instance of
Elasticsearch in other machine located in the same network?
3)Suppose i have two machines with elasticsearch. I need to configure
apache as front end with mod-proxy to search in index to garantee
failover?
4)Elasticsearch has some administration page?

Thanks


(David Pilato) #5
  1. I start tow machines and change the name of cluster and the name of
    nodes. Elasticsearch just discovery the new node just when i put in
    discovey.zen.ping.unicast.hosts the ip of host, thats correct?
    You don't need to add ip or hostname in config file as ES automatically
    detect nodes in your network.

2)When i search in index, i need to use only one URL like
http://solrcluster and this url will search all nodes. Hi i do this
with Elasticsearch without apache mod_proxy.
What you can also do is to connect to one of the know nodes and ask for
information about the other nodes.
curl -XGET 'http://localhost:9200/_cluster/nodes'

If you use Java, you can start a client only node. It connects to the
cluster and discovers automatically all the cluster nodes, do balancing, ...

3)Exists some API to index objects in ElasticSearch?
Some API that uses Annotations?
I use Jackson to transform my entities to JSON and push them into ES.
There are Jackson annotations.

But, Alois Cochard starts also an OSEM annotation project :


And a nice fork here : https://github.com/poblish/elasticsearch-osem

I didn't use it myself.

HTH
David.


(system) #6