A search interface for data from the Politics of Patents case study (part of Copim WP6): this parses data from the archive of RTF files and provides additional data from the European Patent Office API. https://patents.copim.ac.uk
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Simon Bowie 123b307fee using ImageMagick to convert TIFFs from API to PNGs for display 2年前
nginx-conf Improved Nginx configuration for Docker Compose 3年前
php installed ImageMagick in the PHP Docker container 2年前
site using ImageMagick to convert TIFFs from API to PNGs for display 2年前
solr_config added date to Solr index and sorting by date in interface 2年前
.gitignore changed directory parameters for solr_import.sh 2年前
LICENSE Added some comments and a license 3年前
README.md Updated README.md 3年前
config.env.template Added image retrieval from OPS API. Needs work. 3年前
docker-compose.yml installed ImageMagick in the PHP Docker container 2年前
solr_import.sh updating solr_import help script 2年前

README.md

Docker Compose and Docker files for deploying the development environment for the Politics of Patent case study site.

Deployed Solr for .rtf indexing using instructions at: https://github.com/docker-solr/docker-solr

Created core using:

docker exec -it solr solr create_core -c epo_data

Note this fix to ensure that .rtf files can be indexed using Apache Tika: https://gitmemory.com/issue/docker-solr/docker-solr/341/682877640. Once you’ve created the core, run these commands:

docker exec -ti --user=solr solr bash -c 'cp -r /opt/solr/example/files/conf/* /var/solr/data/{CORE_NAME}/conf/'

docker restart solr

Add files to Solr using:

docker run --rm -v "/Users/ad7588/Downloads/2018 (10381):/2018" --network=host solr:latest post -c epo_data /2018

Note that on Mac the PHP container has to communicate with the Solr container using the hostname ‘host.docker.internal’ rather than ‘localhost’ or ‘127.0.0.1’: https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach

On Ubuntu, you can use the container name e.g. ‘solr’ as the Solr hostname in config.env.