Hi. I'm deploying a pelias Docker build on a server. The thing is that ElasticSearch is running on another server. I modified pelias.json
to include the correct URL in esclient.hosts
and created the pelias index on that server successfully using pelias elastic create
. Yet when I run pelias import all
I get the following error. Note that the index still exists when I hit {elasticsearch_url}/_cat/indices
ERROR: Elasticsearch index pelias does not exist
You must use the pelias-schema tool (https://github.com/pelias/schema/) to create the index first
For full instructions on setting up Pelias, see http://pelias.io/install.html
/code/pelias/whosonfirst/node_modules/pelias-dbclient/src/configValidation.js:39
throw new Error(`elasticsearch index ${config.schema.indexName} does not exist`);
^
Error: elasticsearch index pelias does not exist
at existsCallback (/code/pelias/whosonfirst/node_modules/pelias-dbclient/src/configValidation.js:39:15)
at respond (/code/pelias/whosonfirst/node_modules/elasticsearch/src/lib/transport.js:368:9)
at /code/pelias/whosonfirst/node_modules/elasticsearch/src/lib/transport.js:396:7
at Timeout.<anonymous> (/code/pelias/whosonfirst/node_modules/elasticsearch/src/lib/transport.js:429:7)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
Any reason why this could be happening? Maybe I'm missing an important step? Thanks a lot :)
"places": ["New York", "San Francisco", "Dallas", "Detroit", "Chikago", "Washington", "White House"]
. Which will return all the first search result without calling API multiple times.
-gracehttp.log false
but i'm getting flag provided but not defined: -gracehttp.log
@oli1605 unfortunately we haven't updated that page in a couple years. its on our todo list since some details about data coverage could be great to share.
the good news is open data is growing rapidly, and a lot of people are working hard to help it grow, seeking out new data all the time. but you are definitely right there are some areas like China where there is a real lack. if you find anything, we all want to know :)