OData Spring Boot Starter  
 
Convenient dependency descriptors to add OData to your application.
OData Elasticsearch Spring Boot Starter
This adds an OData endpoint which reads data from Elasticsearch.
Usage
Add this dependency to your Maven project:
<dependency>
  <groupId>com.github.pukkaone</groupId>
  <artifactId>odata-elasticsearch2-spring-boot-starter</artifactId>
  <version>${odata-spring-boot-starter.version}</version>
</dependency> 
     Set these application properties:
spring:
  data:
    elasticsearch:
      cluster-name: CLUSTER_NAME
      cluster-nodes: "NODE_HOST:NODE_PORT" 
     Application Properties
Various properties can be specified inside your application.properties or application.yml file, or as command line switches.
-  
odata.web.service-parent-path -  
      
OData service root URI will be
${server.context-path}${odata.web.service-parent-path}/alias_or_index_name
Default:/odata 
Translating Elasticsearch to Entity Data Model
| Elasticsearch | Entity Data Model | Name | 
|---|---|---|
alias/index  |  
      Namespace  |  
      alias_or_index_name  |  
     
alias/index  |  
      Schema  |  
      Namespace  |  
     
alias/index  |  
      Entity Container  |  
      alias_or_index_name  |  
     
type  |  
      Entity Set  |  
      type_name  |  
     
type  |  
      Entity Type  |  
      Namespace   |  
     
nested  |  
      Collection(Complex Type)  |  
      Namespace   |  
     
object  |  
      Complex Type  |  
      Namespace   |