title: Spring data elastic search findAll with OrderBy
body: <p>I am using spring data's elastic search module, but I am having troubles building a query. It is a very easy query though.
  My document looks as follows:</p>
  
  <pre><code>@Document(indexName = "triber-sensor", type = "event")
  public class EventDocument implements Event {
  
      @Id
      private String id;
      @Field(type = FieldType.String)
      private EventMode eventMode;
      @Field(type = FieldType.String)
      private EventSubject eventSubject;
      @Field(type = FieldType.String)
      private String eventId;
      @Field(type = FieldType.Date)
      private Date creationDate;
  }
  </code></pre>
  
  <p>And the spring data repository looks like:</p>
  
  <pre><code>public interface EventJpaRepository extends ElasticsearchRepository&lt;EventDocument, String&gt; {
  
      List&lt;EventDocument&gt; findAllOrderByCreationDateDesc(Pageable pageable);
  
  }
  </code></pre>
  
  <p>So I am trying to get all events ordered by creationDate with the newest event first. However when I run the code I get an exception (also in STS):</p>
  
  <pre><code>Caused by: org.springframework.data.mapping.PropertyReferenceException: No property desc found for type Date! Traversed path: EventDocument.creationDate.
  </code></pre>
  
  <p>So it seems that it is not picking up the 'OrderBy' part? However a query with a findBy clause (eg findByCreationDateOrderByCreationDateDesc) seems to be okay. Also a findAll without ordering works.
  Does this mean that the elastic search module of spring data doesn't allow findAll with ordering?</p>