diff --git a/deploy/meilisearch/Chart.yaml b/deploy/meilisearch/Chart.yaml index 35cb6b57488aa0b4e75c7df8be8477071e0eb2dd..b3c04f0c445e8930e31effa06182a2816077cf7f 100644 --- a/deploy/meilisearch/Chart.yaml +++ b/deploy/meilisearch/Chart.yaml @@ -25,6 +25,6 @@ appVersion: "1.16.0" dependencies: - name: meilisearch - version: 0.3.0 + version: 0.5.0 repository: "https://meilisearch.github.io/meilisearch-kubernetes" diff --git a/docker-compose.yml b/docker-compose.yml index 0cedb3670df391be58a329e1d72b5524cde783c0..6744c4e3daf6379122c804b82e81aa173c38b3bf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: args: BASE_URL: /wiki MEILI_HOST: http://localhost:7700 - MEILI_API_KEY: f9cc073016cbb392365aae86517878cb3f3408bb85c1fafd06e27f73ccb35e3d + MEILI_API_KEY: f5f5f1bc48e6379fc2509f5bf0aed1fce96c1bbf86e0a194c605b258d7cfe890 HOST_URL: http://localhost:8082 container_name: nuxt environment: @@ -31,7 +31,7 @@ services: - main meilisearch: - image: getmeili/meilisearch:v1.5 + image: getmeili/meilisearch:v1.7 # command: # - meilisearch # - --http-addr diff --git a/scripts/fill-local-meilisearch.sh b/scripts/fill-local-meilisearch.sh new file mode 100755 index 0000000000000000000000000000000000000000..cfd0aa4b422465f855d16ca9c92c81e4b4be5814 --- /dev/null +++ b/scripts/fill-local-meilisearch.sh @@ -0,0 +1,34 @@ +#!/bin/bash +# REFSEQ +df-wiki-cli meilisearch delete-all-documents refseq +df-wiki-cli meilisearch update --file ../data/refseq_res.csv --document refseq + + +# REF SEQ TAXO +df-wiki-cli content refseq-group-per-assembly --input ../data/refseq_res.csv --output /tmp/refseqtaxo.csv +df-wiki-cli meilisearch delete-all-documents refseqtaxo +df-wiki-cli meilisearch update --file /tmp/refseqtaxo.csv --document refseqtaxo + +# REFSEQ TAXO TYPE + +df-wiki-cli content refseq-group-per-assembly-and-type --input ../data/refseq_res.csv --output /tmp/refseqtaxotype.csv +df-wiki-cli meilisearch delete-all-documents refseqtaxotype +df-wiki-cli meilisearch update --file /tmp/refseqtaxotype.csv --document refseqtaxotype + + +# SANITIZED REFSEQ +df-wiki-cli content refseq-sanitized-hits --input ../data/refseq_res.csv --output /tmp/refseq-sanitized.csv + +df-wiki-cli meilisearch delete-all-documents refseqsanitized +df-wiki-cli meilisearch update --file /tmp/refseq-sanitized.csv --document refseqsanitized + +# systems +df-wiki-cli content systems --dir ../content/3.defense-systems/ --pfam ../public/pfam-a-hmm.csv --output /tmp/list-systems.json +df-wiki-cli meilisearch update --file /tmp/list-systems.json --document systems + +# STRUCTURE +df-wiki-cli meilisearch update --file ../data/all_predictions_statistics_clean.csv --document structure + +# ARTICLES +# df-wiki-cli meilisearch delete-all-documents article +# df-wiki-cli meilisearch