Hi David, I am able to push a mapping in Java, but I see how I can merge that with an externally defined mapping as you suggest below.
But, is the spring-elasticsearch library compatible with the elasticsearch spring-data library? Thanks! Andra On Monday, December 16, 2013 1:56:18 PM UTC-5, David Pilato wrote: > > I guess that you basically have to send a mapping. > I think that once you have a Node you can get a client from it and push a > mapping in Java, right? > > I did not play yet with spring data project for ES but I will soon. > As author of https://github.com/dadoonet/spring-elasticsearch, I will > probably do it like this with it. > > Not sure it helps. > > -- > David ;-) > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > > > Le 16 déc. 2013 à 19:23, Andra Bennett <[email protected] <javascript:>> a > écrit : > > Hello, > > I am using spring-data elastic > search<https://github.com/spring-projects/spring-data-elasticsearch>to > configure my node and index my data. > > I'd like to know how to enable the timestamp feature for the indexing, and > how to map it to a custom field. > > Does anyone in the elasticsearch have experience with the spring-data > elasticsearch library? Or this question better suited for the Spring forum. > > Thanks, > Andra > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/3141bf8b-bd9e-43c8-afdb-3ffcf7fb53a5%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/98735908-1e4e-4c6c-9bc0-1a7f4eb5de5e%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
