Elasticsearch works on json datasets. I want a dataset that represents a document based on several attributes.
That's why I have import the list of Amsterdam museum & galleries released in OpenData by . http://open.datapunt.amsterdam.nl/MuseaGalleries.json
I think those data are released in the public domain or through a common creative licenses
Import a public dataset from Amsterdam into elasticsearch accessible through localhost:9200. You can use the VM configured in vagrant-elasticsearch
You can find the latest version to ...
git clone https://github.com/Esme-Sudria-Database/dojo_elasticsearch.git
You can import the dataset in elasticsearch in the index musea_galeries
.
$ source venv/bin/activate
(venv) $ ./import_es_musea_galleries
If the dataset is out of date, you can redownload it :
$ source venv/bin/activate
(venv) $ ./download_musea_galleries
To set up the python environments (venv, pip dependency, ...) :
bash setup.sh
- Fabien Arcellier