[ 
https://issues.apache.org/jira/browse/PIO-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828800#comment-15828800
 ] 

ASF GitHub Bot commented on PIO-49:
-----------------------------------

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.


> Add support for Elasticsearch 5.x
> ---------------------------------
>
>                 Key: PIO-49
>                 URL: https://issues.apache.org/jira/browse/PIO-49
>             Project: PredictionIO
>          Issue Type: Improvement
>            Reporter: Shinsuke Sugaya
>
> We work on meta/event storage support for Elasticsearch 5.x.
> Although Elasticsearch 2.x does not allow dots in field names,
> Elasticsearch 5.x supports it. So, it's better to upgrade to ES 5.x release.
> Since ES 5.x provides Java Rest API client, we replaced
> Transport communication with HTTP one. Therefore, our fix
> uses HTTP(9200 port) only.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to