I need to add some mappings after the index was created.
I can't figure how I can I do that using Java API.
Could someone provide an example ?
Is there a Javadoc about Java api?
Tks
Tullio
Javadoc is only available with source code. Download it and attach it to your ES Jar ( on eclipse )
HTH
David
Le 30 juil. 2012 à 09:38, tullio0106 tbettinazzi@axioma.it a écrit :
I need to add some mappings after the index was created.
I can't figure how I can I do that using Java API.
Could someone provide an example ?
Is there a Javadoc about Java api?
Tks
Tullio
Sorry but I don't understand.
Understanding behaviours from code is quite hard.
The FactoryBean You indicated where is it ? How can I obtain it? How to use
it?
I've the Client object and I use it to execute json but I don't understand
the code format of the json message I should use to put a new mapping or
override an existing one.
Tks
Tullio
Il giorno lunedì 30 luglio 2012 09:45:10 UTC+2, David Pilato ha scritto:
Javadoc is only available with source code. Download it and attach it to
your ES Jar ( on eclipse )HTH
DavidLe 30 juil. 2012 à 09:38, tullio0106 tbettinazzi@axioma.it a écrit :
I need to add some mappings after the index was created.
I can't figure how I can I do that using Java API.
Could someone provide an example ?
Is there a Javadoc about Java api?
Tks
Tullio
Il giorno lunedì 30 luglio 2012 09:45:10 UTC+2, David Pilato ha scritto:
Javadoc is only available with source code. Download it and attach it to
your ES Jar ( on eclipse )HTH
DavidLe 30 juil. 2012 à 09:38, tullio0106 tbettinazzi@axioma.it a écrit :
I need to add some mappings after the index was created.
I can't figure how I can I do that using Java API.
Could someone provide an example ?
Is there a Javadoc about Java api?
Tks
Tullio
Il giorno lunedì 30 luglio 2012 09:45:10 UTC+2, David Pilato ha scritto:
Javadoc is only available with source code. Download it and attach it to
your ES Jar ( on eclipse )HTH
DavidLe 30 juil. 2012 à 09:38, tullio0106 tbettinazzi@axioma.it a écrit :
I need to add some mappings after the index was created.
I can't figure how I can I do that using Java API.
Could someone provide an example ?
Is there a Javadoc about Java api?
Tks
Tullio
Il giorno lunedì 30 luglio 2012 09:45:10 UTC+2, David Pilato ha scritto:
Javadoc is only available with source code. Download it and attach it to
your ES Jar ( on eclipse )HTH
DavidLe 30 juil. 2012 à 09:38, tullio0106 tbettinazzi@axioma.it a écrit :
I need to add some mappings after the index was created.
I can't figure how I can I do that using Java API.
Could someone provide an example ?
Is there a Javadoc about Java api?
Tks
Tullio
I forgot to say that's only an example of you can send a mapping to an ES
cluster.
Forget the FactoryBean unless you want to use Spring for your project.
This example is perhaps easier to understand:
The way I build mapping is by using XContentBuilder.
Here is an example:
https://github.com/scrutmydocs/scrutmydocs/blob/master/src/main/java/org/scrutmydocs/webapp/api/settings/rivers/abstractfs/helper/AbstractFSRiverHelper.java#L143
https://github.com/scrutmydocs/scrutmydocs/blob/master/src/main/java/org/scrutmydocs/webapp/api/settings/rivers/abstractfs/helper/AbstractFSRiverHelper.java#L143
I hope this can help you.
David
Twitter : @dadoonet / @elasticsearchfr
Le 30 juil. 2012 à 11:43, tullio0106 < tbettinazzi@axioma.it
mailto:tbettinazzi@axioma.it > a écrit :
Sorry but I don't understand. Understanding behaviours from code is quite hard. The FactoryBean You indicated where is it ? How can I obtain it? How to
use it?
I've the Client object and I use it to execute json but I don't understand
the code format of the json message I should use to put a new mapping or
override an existing one.
Tks
TullioIl giorno lunedì 30 luglio 2012 09:45:10 UTC+2, David Pilato ha scritto: > > Look here: > > https://github.com/dadoonet/spring-elasticsearch/blob/master/src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchAbstractClientFactoryBean.java#L616
Javadoc is only available with source code. Download it and attach it
to your ES Jar ( on eclipse )
HTH David -- Le 30 juil. 2012 à 09:38, tullio0106 <
https://github.com/dadoonet/spring-elasticsearch/blob/master/src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchAbstractClientFactoryBean.java#L616
tbettinazzi@axioma.it mailto:tbettinazzi@axioma.it > a écrit :> I need to add some mappings after the index was created. > I can't figure how I can I do that using Java API. > Could someone provide an example ? > Is there a Javadoc about Java api? > Tks > Tullio Il giorno lunedì 30 luglio 2012 09:45:10 UTC+2, David Pilato ha
scritto:
> > > Look here:
> > > https://github.com/dadoonet/spring-elasticsearch/blob/master/src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchAbstractClientFactoryBean.java#L616Javadoc is only available with source code. Download it and attach
it to your ES Jar ( on eclipse )
HTH David -- Le 30 juil. 2012 à 09:38, tullio0106 <
https://github.com/dadoonet/spring-elasticsearch/blob/master/src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchAbstractClientFactoryBean.java#L616
tbettinazzi@axioma.it mailto:tbettinazzi@axioma.it > a écrit :> I need to add some mappings after the index was created. > I can't figure how I can I do that using Java API. > Could someone provide an example ? > Is there a Javadoc about Java api? > Tks > Tullio Il giorno lunedì 30 luglio 2012 09:45:10 UTC+2, David Pilato ha
scritto:
> > > > Look here:
> > > > https://github.com/dadoonet/spring-elasticsearch/blob/master/src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchAbstractClientFactoryBean.java#L616Javadoc is only available with source code. Download it and
attach it to your ES Jar ( on eclipse )
HTH David -- Le 30 juil. 2012 à 09:38, tullio0106 <
https://github.com/dadoonet/spring-elasticsearch/blob/master/src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchAbstractClientFactoryBean.java#L616
tbettinazzi@axioma.it mailto:tbettinazzi@axioma.it > a écrit :> I need to add some mappings after the index was created. > I can't figure how I can I do that using Java API. > Could someone provide an example ? > Is there a Javadoc about Java api? > Tks > Tullio Il giorno lunedì 30 luglio 2012 09:45:10 UTC+2, David Pilato
ha scritto:
> > > > > Look here:
> > > > > https://github.com/dadoonet/spring-elasticsearch/blob/master/src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchAbstractClientFactoryBean.java#L616Javadoc is only available with source code. Download it
and attach it to your ES Jar ( on eclipse )
HTH David -- Le 30 juil. 2012 à 09:38, tullio0106 <
https://github.com/dadoonet/spring-elasticsearch/blob/master/src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchAbstractClientFactoryBean.java#L616
tbettinazzi@axioma.it mailto:tbettinazzi@axioma.it > a écrit :> I need to add some mappings after the index was created. > I can't figure how I can I do that using Java API. > Could someone provide an example ? > Is there a Javadoc about Java api? > Tks > Tullio > > > > > > > > > >