# How start with elasticsearch?

**URL:** https://discuss.elastic.co/t/how-start-with-elasticsearch/9509
**Category:** Elasticsearch
**Created:** [October 31, 2012, 1:54pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509 "2012-10-31T13:54:50Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Anibal\_Ardid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anibal_ardid/32/2660_2.png) [@Anibal\_Ardid](https://discuss.elastic.co/u/Anibal_Ardid)
#### Post date: [October 31, 2012, 1:54pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/1 "2012-10-31T13:54:50Z")

</div>

Hi ! i'm begginer with big data search engines... I only have experience  
with mysql.

But in my work we need to do new project, and use big data database.

We need:

- full text search
- synonyms
- related search
- fast and scalable

So , I found elasticsearch ... but I don't know how start ... I've download  
the package, but in the guides I didn't found how start to configure, load  
data, etc.

best regards !

--

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [October 31, 2012, 2:24pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/2 "2012-10-31T14:24:53Z")

</div>

I think that the [elasticsearch.org](http://elasticsearch.org) front page explains all the basics you need to know to start.

What is your problem?  
Starting a node?  
Indexing a doc?  
Searching ?

What language do you plan to use (java, php, ruby,...) ?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 31 oct. 2012 à 14:54, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :

> Hi ! i'm begginer with big data search engines... I only have experience with mysql.
> 
> But in my work we need to do new project, and use big data database.
> 
> We need:
> 
> - full text search
> - synonyms
> - related search
> - fast and scalable
> 
> So , I found elasticsearch ... but I don't know how start ... I've download the package, but in the guides I didn't found how start to configure, load data, etc.
> 
> ## best regards !

--

---

<div class="post-metadata">

### Author: ![Anibal\_Ardid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anibal_ardid/32/2660_2.png) [@Anibal\_Ardid](https://discuss.elastic.co/u/Anibal_Ardid)
#### Post date: [October 31, 2012, 2:55pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/3 "2012-10-31T14:55:20Z")

</div>

Hi ! For example, I run elasticsearch and [http://localhost:9200](http://localhost:9200) works fine.  
I can put data and get data from this example:  
[http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html)

but, for example i dont understand how configure the "settings" , for  
example to use synonyms ...  
how search text in all "columns" ...

best regards !

2012/10/31 David Pilato [david@pilato.fr](mailto:david@pilato.fr)

> I think that the [elasticsearch.org](http://elasticsearch.org) front page explains all the basics you  
> need to know to start.
> 
> What is your problem?  
> Starting a node?  
> Indexing a doc?  
> Searching ?
> 
> What language do you plan to use (java, php, ruby,...) ?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 31 oct. 2012 à 14:54, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :
> 
> Hi ! i'm begginer with big data search engines... I only have experience  
> with mysql.
> 
> But in my work we need to do new project, and use big data database.
> 
> We need:
> 
> - full text search
> - synonyms
> - related search
> - fast and scalable
> 
> So , I found elasticsearch ... but I don't know how start ... I've  
> download the package, but in the guides I didn't found how start to  
> configure, load data, etc.
> 
> best regards !
> 
> --
> 
> --

--

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [October 31, 2012, 3:22pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/4 "2012-10-31T15:22:43Z")

</div>

Search in all is [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/query-string-query.html)  
To use synonyms, you need to define a mapping for your fields :

- [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)
- [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/core-types.html)

Synonyms are used in an analyzer : [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/)  
It's a token filter that replace one word to another at index time (and query time): [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/synonym-tokenfilter.html)

Does it help?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 31 oct. 2012 à 15:55, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :

Hi ! For example, I run elasticsearch and [http://localhost:9200](http://localhost:9200) works fine.  
I can put data and get data from this example:  
[http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html)

but, for example i dont understand how configure the "settings" , for example to use synonyms ...  
how search text in all "columns" ...

best regards !

2012/10/31 David Pilato [david@pilato.fr](mailto:david@pilato.fr)

> I think that the [elasticsearch.org](http://elasticsearch.org) front page explains all the basics you need to know to start.
> 
> What is your problem?  
> Starting a node?  
> Indexing a doc?  
> Searching ?
> 
> What language do you plan to use (java, php, ruby,...) ?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 31 oct. 2012 à 14:54, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :
> 
> > Hi ! i'm begginer with big data search engines... I only have experience with mysql.
> > 
> > But in my work we need to do new project, and use big data database.
> > 
> > We need:
> > 
> > - full text search
> > - synonyms
> > - related search
> > - fast and scalable
> > 
> > So , I found elasticsearch ... but I don't know how start ... I've download the package, but in the guides I didn't found how start to configure, load data, etc.
> > 
> > ## best regards !
> 
> --

--

--

---

<div class="post-metadata">

### Author: ![Anibal\_Ardid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anibal_ardid/32/2660_2.png) [@Anibal\_Ardid](https://discuss.elastic.co/u/Anibal_Ardid)
#### Post date: [October 31, 2012, 3:34pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/5 "2012-10-31T15:34:45Z")

</div>

point 1 - PERFECT !

the other ... synonym ...  
i don't understand how it works ... and the settings of analyzers where  
go...

i need to put the synonym with \_mapping in every query ?

sorry, but for me , the documentation is not very clear ☹

2012/10/31 David Pilato [david@pilato.fr](mailto:david@pilato.fr)

> ## Search in all is [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/query-string-query.html) To use synonyms, you need to define a mapping for your fields :
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)
> 
> - [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/core-types.html)
> 
> Synonyms are used in an analyzer :  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/)  
> It's a token filter that replace one word to another at index time (and  
> query time):  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/synonym-tokenfilter.html)
> 
> Does it help?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 31 oct. 2012 à 15:55, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :
> 
> Hi ! For example, I run elasticsearch and [http://localhost:9200](http://localhost:9200) works  
> fine.  
> I can put data and get data from this example:  
> [http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html)
> 
> but, for example i dont understand how configure the "settings" , for  
> example to use synonyms ...  
> how search text in all "columns" ...
> 
> best regards !
> 
> 2012/10/31 David Pilato [david@pilato.fr](mailto:david@pilato.fr)
> 
> > I think that the [elasticsearch.org](http://elasticsearch.org) front page explains all the basics  
> > you need to know to start.
> > 
> > What is your problem?  
> > Starting a node?  
> > Indexing a doc?  
> > Searching ?
> > 
> > What language do you plan to use (java, php, ruby,...) ?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 31 oct. 2012 à 14:54, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :
> > 
> > Hi ! i'm begginer with big data search engines... I only have experience  
> > with mysql.
> > 
> > But in my work we need to do new project, and use big data database.
> > 
> > We need:
> > 
> > - full text search
> > - synonyms
> > - related search
> > - fast and scalable
> > 
> > So , I found elasticsearch ... but I don't know how start ... I've  
> > download the package, but in the guides I didn't found how start to  
> > configure, load data, etc.
> > 
> > best regards !
> > 
> > --
> > 
> > --
> 
> --
> 
> --

--

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [October 31, 2012, 4:17pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/6 "2012-10-31T16:17:04Z")

</div>

Mapping is the definition of how ES will index your docs.  
If you don't give one, ES auto guess the mapping with default settings (english language analyzer for example).

You define mapping once before sending your first doc.

One advice. Send your first doc and then get its mapping: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-get-mapping.html)

Then, delete your type: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-mapping.html)

Modify the mapping you get just before and adapt it to your needs.  
Then, put it in ES: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)

If you need to define your own analyzer, you will have to define it AT FIRST, when creating your index: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index.html)

See also: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/custom-analyzer.html)

To test it, I recommand the Analyze API: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-analyze.html)

BTW, with which language are you going to use ES?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 31 oct. 2012 à 16:34, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :

point 1 - PERFECT !

the other ... synonym ...  
i don't understand how it works ... and the settings of analyzers where go...

i need to put the synonym with \_mapping in every query ?

sorry, but for me , the documentation is not very clear ☹

2012/10/31 David Pilato [david@pilato.fr](mailto:david@pilato.fr)

> Search in all is [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/query-string-query.html)  
> To use synonyms, you need to define a mapping for your fields :
> 
> - [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)
> - [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/core-types.html)
> 
> Synonyms are used in an analyzer : [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/)  
> It's a token filter that replace one word to another at index time (and query time): [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/synonym-tokenfilter.html)
> 
> Does it help?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 31 oct. 2012 à 15:55, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :
> 
> Hi ! For example, I run elasticsearch and [http://localhost:9200](http://localhost:9200) works fine.  
> I can put data and get data from this example:  
> [http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html)
> 
> but, for example i dont understand how configure the "settings" , for example to use synonyms ...  
> how search text in all "columns" ...
> 
> best regards !
> 
> 2012/10/31 David Pilato [david@pilato.fr](mailto:david@pilato.fr)
> 
> > I think that the [elasticsearch.org](http://elasticsearch.org) front page explains all the basics you need to know to start.
> > 
> > What is your problem?  
> > Starting a node?  
> > Indexing a doc?  
> > Searching ?
> > 
> > What language do you plan to use (java, php, ruby,...) ?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 31 oct. 2012 à 14:54, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :
> > 
> > > Hi ! i'm begginer with big data search engines... I only have experience with mysql.
> > > 
> > > But in my work we need to do new project, and use big data database.
> > > 
> > > We need:
> > > 
> > > - full text search
> > > - synonyms
> > > - related search
> > > - fast and scalable
> > > 
> > > So , I found elasticsearch ... but I don't know how start ... I've download the package, but in the guides I didn't found how start to configure, load data, etc.
> > > 
> > > ## best regards !
> > 
> > --
> 
> --
> 
> --

--

--

---

<div class="post-metadata">

### Author: ![Anibal\_Ardid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anibal_ardid/32/2660_2.png) [@Anibal\_Ardid](https://discuss.elastic.co/u/Anibal_Ardid)
#### Post date: [October 31, 2012, 8:44pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/7 "2012-10-31T20:44:45Z")

</div>

Thanks, but without examples I can't understand very well.

I speak spanish ...

I use PHP , and the searchs prefered are in latin.

Do you have any example of complete setup or step by step ?

2012/10/31 David Pilato [david@pilato.fr](mailto:david@pilato.fr)

> Mapping is the definition of how ES will index your docs.  
> If you don't give one, ES auto guess the mapping with default settings  
> (english language analyzer for example).
> 
> You define mapping once before sending your first doc.
> 
> One advice. Send your first doc and then get its mapping:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-get-mapping.html)
> 
> Then, delete your type:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-mapping.html)
> 
> Modify the mapping you get just before and adapt it to your needs.  
> Then, put it in ES:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)
> 
> If you need to define your own analyzer, you will have to define it AT  
> FIRST, when creating your index:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index.html)
> 
> See also:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/custom-analyzer.html)
> 
> To test it, I recommand the Analyze API:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-analyze.html)
> 
> BTW, with which language are you going to use ES?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 31 oct. 2012 à 16:34, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :
> 
> point 1 - PERFECT !
> 
> the other ... synonym ...  
> i don't understand how it works ... and the settings of analyzers where  
> go...
> 
> i need to put the synonym with \_mapping in every query ?
> 
> sorry, but for me , the documentation is not very clear ☹
> 
> 2012/10/31 David Pilato [david@pilato.fr](mailto:david@pilato.fr)
> 
> > ## Search in all is [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/query-string-query.html) To use synonyms, you need to define a mapping for your fields :
> > 
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)
> > 
> > - [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/core-types.html)
> > 
> > Synonyms are used in an analyzer :  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/)  
> > It's a token filter that replace one word to another at index time (and  
> > query time):  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/synonym-tokenfilter.html)
> > 
> > Does it help?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 31 oct. 2012 à 15:55, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :
> > 
> > Hi ! For example, I run elasticsearch and [http://localhost:9200](http://localhost:9200) works  
> > fine.  
> > I can put data and get data from this example:  
> > [http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html)
> > 
> > but, for example i dont understand how configure the "settings" , for  
> > example to use synonyms ...  
> > how search text in all "columns" ...
> > 
> > best regards !
> > 
> > 2012/10/31 David Pilato [david@pilato.fr](mailto:david@pilato.fr)
> > 
> > > I think that the [elasticsearch.org](http://elasticsearch.org) front page explains all the basics  
> > > you need to know to start.
> > > 
> > > What is your problem?  
> > > Starting a node?  
> > > Indexing a doc?  
> > > Searching ?
> > > 
> > > What language do you plan to use (java, php, ruby,...) ?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 31 oct. 2012 à 14:54, Anibal Ardid [anibalardid@gmail.com](mailto:anibalardid@gmail.com) a écrit :
> > > 
> > > Hi ! i'm begginer with big data search engines... I only have experience  
> > > with mysql.
> > > 
> > > But in my work we need to do new project, and use big data database.
> > > 
> > > We need:
> > > 
> > > - full text search
> > > - synonyms
> > > - related search
> > > - fast and scalable
> > > 
> > > So , I found elasticsearch ... but I don't know how start ... I've  
> > > download the package, but in the guides I didn't found how start to  
> > > configure, load data, etc.
> > > 
> > > best regards !
> > > 
> > > --
> > > 
> > > --
> > 
> > --
> > 
> > --
> 
> --
> 
> --

--

---

<div class="post-metadata">

### Author: ![ferhatsb](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@ferhatsb](https://discuss.elastic.co/u/ferhatsb)
#### Post date: [November 2, 2012, 12:12pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/8 "2012-11-02T12:12:12Z")

</div>

Hi Anibal,

Our php samples and documentation may help you at client side;

[http://dev.searchbox.io/php/](http://dev.searchbox.io/php/)  
[https://github.com/searchbox-io/php-elastica-sample](https://github.com/searchbox-io/php-elastica-sample)

Also we will announce ES wordpress plugin soon(2-3 weeks), you can check  
its source as well.

Have fun,

Ferhat  
[www.searchbox.io](http://www.searchbox.io)

On Wednesday, October 31, 2012 10:45:14 PM UTC+2, Anibal Ardid wrote:

> Thanks, but without examples I can't understand very well.
> 
> I speak spanish ...
> 
> I use PHP , and the searchs prefered are in latin.
> 
> Do you have any example of complete setup or step by step ?
> 
> 2012/10/31 David Pilato \<[da...@pilato.fr](mailto:da...@pilato.fr) \<javascript:\>\>
> 
> > Mapping is the definition of how ES will index your docs.  
> > If you don't give one, ES auto guess the mapping with default settings  
> > (english language analyzer for example).
> > 
> > You define mapping once before sending your first doc.
> > 
> > One advice. Send your first doc and then get its mapping:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-get-mapping.html)
> > 
> > Then, delete your type:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-mapping.html)
> > 
> > Modify the mapping you get just before and adapt it to your needs.  
> > Then, put it in ES:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)
> > 
> > If you need to define your own analyzer, you will have to define it AT  
> > FIRST, when creating your index:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index.html)
> > 
> > See also:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/custom-analyzer.html)
> > 
> > To test it, I recommand the Analyze API:  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-analyze.html)
> > 
> > BTW, with which language are you going to use ES?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 31 oct. 2012 à 16:34, Anibal Ardid \<[aniba...@gmail.com](mailto:aniba...@gmail.com) \<javascript:\>\>  
> > a écrit :
> > 
> > point 1 - PERFECT !
> > 
> > the other ... synonym ...  
> > i don't understand how it works ... and the settings of analyzers where  
> > go...
> > 
> > i need to put the synonym with \_mapping in every query ?
> > 
> > sorry, but for me , the documentation is not very clear ☹
> > 
> > 2012/10/31 David Pilato \<[da...@pilato.fr](mailto:da...@pilato.fr) \<javascript:\>\>
> > 
> > > ## Search in all is [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/query-dsl/query-string-query.html) To use synonyms, you need to define a mapping for your fields :
> > > 
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)
> > > 
> > > - [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/core-types.html)
> > > 
> > > Synonyms are used in an analyzer :  
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/)  
> > > It's a token filter that replace one word to another at index time (and  
> > > query time):  
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/synonym-tokenfilter.html)
> > > 
> > > Does it help?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 31 oct. 2012 à 15:55, Anibal Ardid \<[aniba...@gmail.com](mailto:aniba...@gmail.com) \<javascript:\>\>  
> > > a écrit :
> > > 
> > > Hi ! For example, I run elasticsearch and [http://localhost:9200](http://localhost:9200) works  
> > > fine.  
> > > I can put data and get data from this example:  
> > > [http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html)
> > > 
> > > but, for example i dont understand how configure the "settings" , for  
> > > example to use synonyms ...  
> > > how search text in all "columns" ...
> > > 
> > > best regards !
> > > 
> > > 2012/10/31 David Pilato \<[da...@pilato.fr](mailto:da...@pilato.fr) \<javascript:\>\>
> > > 
> > > > I think that the [elasticsearch.org](http://elasticsearch.org) front page explains all the basics  
> > > > you need to know to start.
> > > > 
> > > > What is your problem?  
> > > > Starting a node?  
> > > > Indexing a doc?  
> > > > Searching ?
> > > > 
> > > > What language do you plan to use (java, php, ruby,...) ?
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 31 oct. 2012 à 14:54, Anibal Ardid \<[aniba...@gmail.com](mailto:aniba...@gmail.com) \<javascript:\>\>  
> > > > a écrit :
> > > > 
> > > > Hi ! i'm begginer with big data search engines... I only have  
> > > > experience with mysql.
> > > > 
> > > > But in my work we need to do new project, and use big data database.
> > > > 
> > > > We need:
> > > > 
> > > > - full text search
> > > > - synonyms
> > > > - related search
> > > > - fast and scalable
> > > > 
> > > > So , I found elasticsearch ... but I don't know how start ... I've  
> > > > download the package, but in the guides I didn't found how start to  
> > > > configure, load data, etc.
> > > > 
> > > > best regards !
> > > > 
> > > > --
> > > > 
> > > > --
> > > 
> > > --
> > > 
> > > --
> > 
> > --
> > 
> > --

--

---

<div class="post-metadata">

### Author: ![Anibal\_Ardid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anibal_ardid/32/2660_2.png) [@Anibal\_Ardid](https://discuss.elastic.co/u/Anibal_Ardid)
#### Post date: [November 2, 2012, 12:23pm UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/9 "2012-11-02T12:23:30Z")

</div>

best regards !  
I'm developing a new web application, a search engine to my forum, but with  
results of another forums.

2012/11/2 ferhatsb [ferhat.sobay@gmail.com](mailto:ferhat.sobay@gmail.com)

> Hi Anibal,
> 
> Our php samples and documentation may help you at client side;
> 
> [http://dev.searchbox.io/php/](http://dev.searchbox.io/php/)  
> [https://github.com/searchbox-io/php-elastica-sample](https://github.com/searchbox-io/php-elastica-sample)
> 
> Also we will announce ES wordpress plugin soon(2-3 weeks), you can check  
> its source as well.
> 
> Have fun,
> 
> Ferhat  
> [www.searchbox.io](http://www.searchbox.io)
> 
> On Wednesday, October 31, 2012 10:45:14 PM UTC+2, Anibal Ardid wrote:
> 
> > Thanks, but without examples I can't understand very well.
> > 
> > I speak spanish ...
> > 
> > I use PHP , and the searchs prefered are in latin.
> > 
> > Do you have any example of complete setup or step by step ?
> > 
> > 2012/10/31 David Pilato [da...@pilato.fr](mailto:da...@pilato.fr)
> > 
> > > Mapping is the definition of how ES will index your docs.  
> > > If you don't give one, ES auto guess the mapping with default settings  
> > > (english language analyzer for example).
> > > 
> > > You define mapping once before sending your first doc.
> > > 
> > > One advice. Send your first doc and then get its mapping: [http://www](http://www).\*\*  
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/guide/ **reference/api/admin-indices-** get-mapping.html)[http://www.elasticsearch.org/guide/reference/api/admin-indices-get-mapping.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-get-mapping.html)
> > > 
> > > Then, delete your type: [http://www](http://www).**[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/guide/)**  
> > > reference/api/admin-indices-\*\*delete-mapping.html[http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-mapping.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-mapping.html)
> > > 
> > > Modify the mapping you get just before and adapt it to your needs.  
> > > Then, put it in ES: [http://www.elasticsearch](http://www.elasticsearch).\*\*  
> > > org/guide/reference/api/admin-\*\*indices-put-mapping.html[http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)
> > > 
> > > If you need to define your own analyzer, you will have to define it AT  
> > > FIRST, when creating your index: [http://www](http://www).**[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/guide/)**  
> > > reference/api/admin-indices-\*\*create-index.html[http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index.html)
> > > 
> > > See also: [http://www](http://www).**[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/guide/)**  
> > > reference/index-modules/\*\*analysis/custom-analyzer.html[http://www.elasticsearch.org/guide/reference/index-modules/analysis/custom-analyzer.html](http://www.elasticsearch.org/guide/reference/index-modules/analysis/custom-analyzer.html)
> > > 
> > > To test it, I recommand the Analyze API: [http://www.elasticsearch](http://www.elasticsearch).\*\*  
> > > org/guide/reference/api/admin-\*\*indices-analyze.html[http://www.elasticsearch.org/guide/reference/api/admin-indices-analyze.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-analyze.html)
> > > 
> > > BTW, with which language are you going to use ES?
> > > 
> > > --  
> > > David 😉  
> > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > 
> > > Le 31 oct. 2012 à 16:34, Anibal Ardid [aniba...@gmail.com](mailto:aniba...@gmail.com) a écrit :
> > > 
> > > point 1 - PERFECT !
> > > 
> > > the other ... synonym ...  
> > > i don't understand how it works ... and the settings of analyzers where  
> > > go...
> > > 
> > > i need to put the synonym with \_mapping in every query ?
> > > 
> > > sorry, but for me , the documentation is not very clear ☹
> > > 
> > > 2012/10/31 David Pilato [da...@pilato.fr](mailto:da...@pilato.fr)
> > > 
> > > > Search in all is [http://www.elasticsearch](http://www.elasticsearch).\*\*  
> > > > org/guide/reference/query-dsl/\*\*query-string-query.html[http://www.elasticsearch.org/guide/reference/query-dsl/query-string-query.html](http://www.elasticsearch.org/guide/reference/query-dsl/query-string-query.html)  
> > > > To use synonyms, you need to define a mapping for your fields :
> > > > 
> > > > - [http://www.elasticsearch](http://www.elasticsearch). **org/guide/reference/api/admin-**  
> > > > indices-put-mapping.html[http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html)
> > > > - [http://www.elasticsearch](http://www.elasticsearch). **org/guide/reference/mapping/**  
> > > > core-types.html[http://www.elasticsearch.org/guide/reference/mapping/core-types.html](http://www.elasticsearch.org/guide/reference/mapping/core-types.html)
> > > > 
> > > > Synonyms are used in an analyzer : [http://www.elasticsearch](http://www.elasticsearch).\*\*  
> > > > org/guide/reference/index-\*\*modules/analysis/[http://www.elasticsearch.org/guide/reference/index-modules/analysis/](http://www.elasticsearch.org/guide/reference/index-modules/analysis/)  
> > > > It's a token filter that replace one word to another at index time (and  
> > > > query time): [http://www](http://www).**[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://elasticsearch.org/guide/)**  
> > > > reference/index-modules/\*\*analysis/synonym-tokenfilter.\*\*html[http://www.elasticsearch.org/guide/reference/index-modules/analysis/synonym-tokenfilter.html](http://www.elasticsearch.org/guide/reference/index-modules/analysis/synonym-tokenfilter.html)
> > > > 
> > > > Does it help?
> > > > 
> > > > --  
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 31 oct. 2012 à 15:55, Anibal Ardid [aniba...@gmail.com](mailto:aniba...@gmail.com) a écrit :
> > > > 
> > > > Hi ! For example, I run elasticsearch and [http://localhost:9200](http://localhost:9200) \*\*works  
> > > > fine.  
> > > > I can put data and get data from this example:  
> > > > [http://www](http://www).\*\*[elasticsearchtutorial.com/](http://elasticsearchtutorial.com/) **elasticsearch-in-5-minutes.**  
> > > > html[http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html](http://www.elasticsearchtutorial.com/elasticsearch-in-5-minutes.html)
> > > > 
> > > > but, for example i dont understand how configure the "settings" , for  
> > > > example to use synonyms ...  
> > > > how search text in all "columns" ...
> > > > 
> > > > best regards !
> > > > 
> > > > 2012/10/31 David Pilato [da...@pilato.fr](mailto:da...@pilato.fr)
> > > > 
> > > > > I think that the [elasticsearch.org](http://elasticsearch.org) front page explains all the basics  
> > > > > you need to know to start.
> > > > > 
> > > > > What is your problem?  
> > > > > Starting a node?  
> > > > > Indexing a doc?  
> > > > > Searching ?
> > > > > 
> > > > > What language do you plan to use (java, php, ruby,...) ?
> > > > > 
> > > > > --  
> > > > > David 😉  
> > > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > > 
> > > > > Le 31 oct. 2012 à 14:54, Anibal Ardid [aniba...@gmail.com](mailto:aniba...@gmail.com) a écrit :
> > > > > 
> > > > > Hi ! i'm begginer with big data search engines... I only have  
> > > > > experience with mysql.
> > > > > 
> > > > > But in my work we need to do new project, and use big data database.
> > > > > 
> > > > > We need:
> > > > > 
> > > > > - full text search
> > > > > - synonyms
> > > > > - related search
> > > > > - fast and scalable
> > > > > 
> > > > > So , I found elasticsearch ... but I don't know how start ... I've  
> > > > > download the package, but in the guides I didn't found how start to  
> > > > > configure, load data, etc.
> > > > > 
> > > > > best regards !
> > > > > 
> > > > > --
> > > > > 
> > > > > --
> > > > 
> > > > --
> > > > 
> > > > --
> > > 
> > > --
> > > 
> > > --
> > 
> > --

--

---

<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:06am UTC](https://discuss.elastic.co/t/how-start-with-elasticsearch/9509/10 "2017-07-06T03:06:26Z")

</div>


