You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by GitBox <gi...@apache.org> on 2021/02/16 18:26:49 UTC

[GitHub] [incubator-ponymail] lewismc opened a new issue #528: Upgrade to Elasticsearch 7.X

lewismc opened a new issue #528:
URL: https://github.com/apache/incubator-ponymail/issues/528


   The [installation prerequisites](https://github.com/apache/incubator-ponymail/blob/master/docs/INSTALLING.md#pre-requisites) state `ElasticSearch >= 2.1` but [requirements.txt](https://github.com/apache/incubator-ponymail/blob/master/requirements.txt#L3-L4) states `~=5.0.0`.
   When I attempt to run setup.py in Python3 interpreter with local ES 7.7.1 installation I get the following
   ```
   Index creation failed: TransportError(400, 'mapper_parsing_exception', 'Root mapping definition has unsupported parameters:  [mailinglists : {_all={enabled=false}, properties={name={index=not_analyzed, type=string}, description={index=not_analyzed, type=string}, list={type=string}}}] [attachment : {properties={source={type=binary}}}] [mbox_source : {_all={enabled=false}, properties={message-id={index=not_analyzed, type=string}, mid={type=string}, source={type=binary}}}] [mbox : {properties={cc={type=string}, date={format=yyyy/MM/dd HH:mm:ss, index=not_analyzed, store=true, type=date}, in-reply-to={index=not_analyzed, type=string}, private={type=boolean}, attachments={properties={filename={index=not_analyzed, type=string}, content_type={index=not_analyzed, type=string}, size={type=long}, hash={index=not_analyzed, type=string}}}, references={type=string}, from_raw={index=not_analyzed, type=string}, subject={fielddata=true, type=string}, mid={type=string}, @import_timestamp={format=y
 yyy/MM/dd HH:mm:ss||yyyy/MM/dd, type=date}, epoch={index=not_analyzed, type=long}, body={type=string}, list={type=string}, message-id={index=not_analyzed, type=string}, from={type=string}, to={type=string}, list_raw={index=not_analyzed, type=string}}}] [account : {_all={enabled=false}, properties={internal={properties={cookie={index=not_analyzed, type=string}, ip={index=not_analyzed, type=string}, oauth_used={index=not_analyzed, type=string}}}, credentials={properties={uid={index=not_analyzed, type=string}, altemail={type=object}, fullname={index=not_analyzed, type=string}, email={index=not_analyzed, type=string}}}, request_id={index=not_analyzed, type=string}, cid={index=not_analyzed, type=string}}}] [notifications : {_all={enabled=false}, properties={date={format=yyyy/MM/dd HH:mm:ss, store=true, type=date}, in-reply-to={index=not_analyzed, type=string}, private={type=boolean}, subject={fielddata=true, type=string}, mid={type=string}, epoch={type=long}, list={type=string}, type={in
 dex=not_analyzed, type=string}, seen={type=long}, recipient={index=not_analyzed, type=string}, message-id={index=not_analyzed, type=string}, from={type=string}, to={type=string}}}]')
   ```
   This has to do with the [removal of mapping types in ES 7.X](https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html)
   
   I propose to make necessary upgrades to ES 7.X. I will start working on this issue.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-ponymail] lewismc commented on issue #528: Upgrade to Elasticsearch 7.X

Posted by GitBox <gi...@apache.org>.
lewismc commented on issue #528:
URL: https://github.com/apache/incubator-ponymail/issues/528#issuecomment-780261917


   Hi @Humbedooh thanks for dropping that bombshell. This wasn't obvious to me... I just spent the last 4 hours upgrading this codebase to use ES7. No worries, I'll send a one line README PR to notify others as well. Thanks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-ponymail] lewismc closed issue #528: Upgrade to Elasticsearch 7.X

Posted by GitBox <gi...@apache.org>.
lewismc closed issue #528:
URL: https://github.com/apache/incubator-ponymail/issues/528


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-ponymail] Humbedooh commented on issue #528: Upgrade to Elasticsearch 7.X

Posted by GitBox <gi...@apache.org>.
Humbedooh commented on issue #528:
URL: https://github.com/apache/incubator-ponymail/issues/528#issuecomment-780086902


   https://github.com/apache/incubator-ponymail-foal works with 7.x and 8.x, and is the focus at the moment.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org