Hi @orangejulius thanks for the help. I will add security to the server so that not everyone can have access. For the time being I deleted the index and re-created it, and ran import again. After that I got the following error
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "Fielddata is disabled on text fields by default. Set fielddata=true on [source] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."
}
],
"type" : "search_phase_execution_exception",
"reason" : "all shards failed",
"phase" : "query",
"grouped" : true,
"failed_shards" : [
{
"shard" : 0,
"index" : "pelias",
"node" : "gFoLazB0SaSeC5KTRqOCpA",
"reason" : {
"type" : "illegal_argument_exception",
"reason" : "Fielddata is disabled on text fields by default. Set fielddata=true on [source] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."
}
}
],
"caused_by" : {
"type" : "illegal_argument_exception",
"reason" : "Fielddata is disabled on text fields by default. Set fielddata=true on [source] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.",
"caused_by" : {
"type" : "illegal_argument_exception",
"reason" : "Fielddata is disabled on text fields by default. Set fielddata=true on [source] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."
}
}
},
"status" : 400
}
Any ideas what might have caused it? I imported my own csvs alongside all OpenAdresses, OpenStreetMap, etc. data
Hello. I am trying to install the Pelias portland-metro example on CentOS. I am seeing the following error when running pelias elastic start
:
Caused by: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data"
I have seen multiple issues about running as root may cause this. So I created a separate user but am seeing the same issues. I made sure to chown the DATA_DIR to the pelias user. Am I missing something? It may be worth noting that I have successfully ran this demo locally in Windows WSL shell.
Hi, I have a working setup of pelias and can query the pelias for addresses. which responds correctly. for all. layers except the postalcode..
working request example -
https://mydomain.com/pelias/api/v1/search?text=2429&layers=address&boundary.country=AUS
but when i request with layer postalcode like below -
https://mydomain.com/pelias/api/v1/search?text=2429&layers=postalcode&boundary.country=AUS
then it responds with below error -
"errors": [
"'postalcode' is an invalid layers parameter. Valid options: coarse,address,venue,street,locality,neighbourhood,county,localadmin,region,macrocounty,country,macroregion,borough,macrohood,marinearea,disputed,dependency,empire,continent,ocean"
]
I did imported the postalcodes as well when i have downloaded the wof data for postalcodes..
does anyone have any idea on why i am facing this issue?
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 :)