Questions about ElasticSearch - For Beginner

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

  1. No
  2. yes
  3. No. ES does it for you
  4. not really but you have rest endpoints and you can use :
    GitHub - mobz/elasticsearch-head: A web front end for an elastic search cluster
    GitHub - lukas-vlcek/bigdesk: Live charts and statistics for Elasticsearch cluster.

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

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 :
    GitHub - mobz/elasticsearch-head: A web front end for an elastic search cluster
    GitHub - lukas-vlcek/bigdesk: Live charts and statistics for Elasticsearch cluster.

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

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 :
    GitHub - mobz/elasticsearch-head: A web front end for an elastic search cluster
    GitHub - lukas-vlcek/bigdesk: Live charts and statistics for Elasticsearch cluster.

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

  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 : GitHub - poblish/elasticsearch-osem: ElasticSearch OSEM with Hibernate-ORM integration

I didn't use it myself.

HTH
David.