title: ElasticSearch - field type timerange?
body: <p>Is it possible to have field type that would look like List>?
  So I have Java POJOs:</p>
  
  <pre><code> public class Document {
  //omitted other fields
  private List&lt;ChildDocument&gt; values;
  
  class ChildDocument {
      private List&lt;String&gt; words;
      private Timerange timerange;
  }
  
  class Timerange {
      // time in format "10:15:30.222"
      // LocalTime from Java-8 time api
      private LocalTime start;
      private LocalTime end;
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Example data in such field:</p>
  
  <pre><code>index -&gt; {time-range -&gt; list of strings}
  (0) -&gt; "08:00:00.000 - 09:00:00.000" -&gt; {"1", "2", "3"}
  (1) -&gt; "11:00:00.000 - 13:00:00.000" -&gt; {"4", "5", "6"}
  </code></pre>
  
  <p>And I would query "find 'time-range' that has '5' in it" and I would get "08:00:00.000 - 09:00:00.00" as property defined as in my Java ChildDocument. Is it possible to store in ES just time-range without dates? And do this kind of nested objects?  I know I cound store that TimeRange field as String and parse it back in my Java app but trying to optimize it so ES does most of the work.</p>
  
  <p>Still new to ES (came from Solr and that's impossible there).</p>