ElasticSearchTest icon indicating copy to clipboard operation
ElasticSearchTest copied to clipboard

Elastic Search Code

Results 1 ElasticSearchTest issues
Sort by recently updated
recently updated
newest added

@Germey hello,我在您python3网络爬虫开发实战第二版中,在4.7 elasticsearch这一章学习过程中,发现一些问题,可能是因为版本更新的原因,例如: > from elasticsearch import Elasticsearch > es = Elasticsearch() > result = es.indices.create(index='news',ignore=400) > print(result) 上面的会报错: > ValueError: Either 'hosts' or 'cloud_id' must be specified 然后,当我这么写就不报错了 >...