diff options
author | Frederick Muriuki Muriithi | 2025-01-28 16:12:43 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-02-03 08:51:52 -0600 |
commit | 9a476db52c8ddcb7a3b64ee999fe91645c085673 (patch) | |
tree | eacc96b52b4c4b56e7396962e72dcd5d4904c32d /genenetwork | |
parent | 6df348f71f58df84ee4fc0a0e3a778889aefec79 (diff) | |
download | gn-machines-9a476db52c8ddcb7a3b64ee999fe91645c085673.tar.gz |
Pass virtuoso's ttl directory to the xapian indexer script.
Pass the directory containing virtuoso's turtle (ttl) files to the
indexer.
Diffstat (limited to 'genenetwork')
-rw-r--r-- | genenetwork/services/genenetwork.scm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index 140b469..d01bec3 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -172,6 +172,8 @@ (genenetwork3 (genenetwork-configuration-genenetwork3 config)) (xapian-directory (genenetwork-configuration-xapian-db config)) (sparql-endpoint (genenetwork-configuration-sparql-endpoint config)) + (virtuoso-ttl-directory + (genenetwork-configuration-gn-virtuoso-ttl-directory config)) (xapian-build-directory (string-append xapian-directory "/build")) (herd (file-append shepherd "/bin/herd")) (index-genenetwork (file-append genenetwork3 "/bin/index-genenetwork")) @@ -205,7 +207,9 @@ "is-data-modified" #$xapian-directory #$sql-uri - #$sparql-endpoint)))) + #$sparql-endpoint + "--virtuoso-ttl-directory" + #$virtuoso-ttl-directory)))) (dynamic-wind (const #t) ;; build the index @@ -214,7 +218,9 @@ "create-xapian-index" #$xapian-build-directory #$sql-uri - #$sparql-endpoint) + #$sparql-endpoint + "--virtuoso-ttl-directory" + #$virtuoso-ttl-directory) (dynamic-wind ;; stop GN3: Here there is magic!!! ;; The name `gunicorn-genenetwork' is magical. It is not set |