Creating index
Hello After downloading geonames_index, I run this command as stated in the instruction: docker run -d -p 127.0.0.1:9200:9200 -v $(pwd)/geonames_index/:/usr/share/elasticsearch/data elasticsearch:5.5.2
Then I run location.py which include 3 lines of the code:
from mordecai import Geoparser geo = Geoparser() geo.geoparse("I traveled from Oxford to Ottawa.")
Then I received index not found error. I can connect to localhost:9200, but not to localhost:9200/geonames.
So I run curl -XPUT "localhost:9200/geonames" -H "Content-Type: application/json" -d @geonames_mapping.json to create index. Then, localhost:9200/geonames looks ok. So I run location.py again. This time I receive list out of index error. So I thought I needed to create index properly and follow the instructions here https://github.com/openeventdata/es-geonames to create geonames index. When running the file geonames_elasticsearch_loader.py as part of creating the index, I received an error saying I run out of space. I'm new to all these and not successful trying to fix out of space issue and stuck here. I would like to use this for one of research projects. I'd appreciate it very much if someone can help me. Thank you very much. Best regards Tint