Timestamp mapping in Java API

I'd like to do the timestamp mapping for my index with the Java API.
I ran across this class TimestampFieldMapperhttp://elasticsearch/blob/master/src/main/java/org/elasticsearch/index/mapper/internal/TimestampFieldMapper.javain github.

What is the intended use case for it?
Does anyone have any documentation on it, or any examples?

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0368626d-3bd9-434d-92f6-36fbcc82204a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

this is the underlying code for the feature described at

You might want to check the integration tests, which make use of the
timestamp feature (and the fieldmapper), see
https://github.com/elasticsearch/elasticsearch/blob/master/src/test/java/org/elasticsearch/timestamp/SimpleTimestampTests.java

Hope this helps as a start...

--Alex

On Tue, Dec 17, 2013 at 3:23 PM, Andra Bennett andrucu@gmail.com wrote:

I'd like to do the timestamp mapping for my index with the Java API.
I ran across this class TimestampFieldMapperhttp://elasticsearch/blob/master/src/main/java/org/elasticsearch/index/mapper/internal/TimestampFieldMapper.javain github.

What is the intended use case for it?
Does anyone have any documentation on it, or any examples?

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0368626d-3bd9-434d-92f6-36fbcc82204a%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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM8O1XCe2y28nyiKDW9nD7i0rsusJHeadady6oyLM8WJ0w%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.