Github user marevol commented on the issue:

    https://github.com/apache/incubator-predictionio/pull/336
  
    To use the existing code for elasticsearch 1.x, please use 
PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=ELASTICSEARCH1 and 
PIO_STORAGE_SOURCES_ELASTICSEARCH1_* settings.
    
    > The UR uses the REST API for 1.x and can easily switch to 5.X so I'd like 
to coordinate.
    
    o.a.p.data.strorage.elasticsearch.* classes contain index mappings and it's 
different between 1.x and 5.x.
    So, to use new code for 5.x in 1.x, the mapping needs to be modified.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to