diff options
author | Frederick Muriuki Muriithi | 2025-01-28 16:12:43 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-01-28 16:17:35 -0600 |
commit | aedd845ef28e8a3bfffe832bc05d147f43cb4e64 (patch) | |
tree | 4259bcd05242f2b19c70520259b988be02a1b84f | |
parent | 521dc90bf255430f71110c6d93eaccc769bd1cba (diff) | |
download | gn-machines-aedd845ef28e8a3bfffe832bc05d147f43cb4e64.tar.gz |
Pass virtuoso's ttl directory to the xapian indexer script.
Pass the directory containing virtuoso's turtle (ttl) files to the
indexer.
-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 |