Skip to content

b-parker-42/art-attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP - elasticsearch with art info

Playing around with elasticsearch using Docker to set up and artwork info to load and run searches on

Approach

1. Container

Using a Docker container to run elasticsearch as linked:
https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html

2. Data Prep

Used Tate data from linked repo:
https://github.com/tategallery/collection
Filtered for only clean, easy to use keys for testing by running create_json.py which creates artwork.json

3. Data Load

Ran Bulk load API form upload_artwork.sh

4. Elasticsearch API calls

Test out in elastic_search.py

TODO

  • Load artists as well & index better
  • Properly check what the format needs to be for the bulk load API
  • Make searching on artwork strings more flexible
  • Mock the API to unit test?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published