shirosaidev / stocksight

Stock market analyzer and predictor using Elasticsearch, Twitter, News headlines and Python natural language processing and sentiment analysis
https://shirosaidev.github.io/stocksight/
Apache License 2.0
2.12k stars 463 forks source link

TransportError(400, 'illegal_argument_exception', 'Rejecting mapping update to [stocksight] as the final mapping would have more than 1 type: [tweet, stock]') #17

Closed Aanerud closed 5 years ago

Aanerud commented 5 years ago

2019-05-18 13:18:17,457 [ERROR][stocksight] Exception: can't get stock data, trying again later, reason is TransportError(400, 'illegal_argument_exception', 'Rejecting mapping update to [stocksight] as the final mapping would have more than 1 type: [tweet, stock]')

Running on a Ubuntu 18.04 TLS andy@shirosaidev-stocksight:~/stocksight$ python3.6 stockprice.py -s TSLA --debug

Kibana 6.7.2 ElasticSearch 6.7.2

Aanerud commented 5 years ago

fault, need to downgrade ElasticSearch to 5.