diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-19 00:55:44 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-19 19:49:04 -0800 |
commit | 89e9149b27263d6128be449c7b12b025cc031292 (patch) | |
tree | e3233ac5fc462881353be62c45217e9a4d974d4f /settings.toml | |
parent | 59cc64a24e4331899e6b952cc7a8dedc1ec13547 (diff) | |
download | fatcat-scholar-89e9149b27263d6128be449c7b12b025cc031292.tar.gz fatcat-scholar-89e9149b27263d6128be449c7b12b025cc031292.zip |
add citation query feature (disabled by default)
This is operationally complex (queries hit 3x backend services!), so not
enabled by default. Will need more testing; possibly circuit-breaking.
Though haproxy should provide some of that automatically at this point.
Diffstat (limited to 'settings.toml')
-rw-r--r-- | settings.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings.toml b/settings.toml index 34f29ce..6cd8823 100644 --- a/settings.toml +++ b/settings.toml @@ -10,6 +10,7 @@ ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext" THUMBNAIL_URL_PREFIX = "https://blobs.fatcat.wiki/thumbnail/pdf/" SANDCRAWLER_DB_API = "http://aitio.us.archive.org:3030" SANDCRAWLER_S3_API = "wbgrp-svc169.us.archive.org:8333" +GROBID_HOST = "https://grobid.qa.fatcat.wiki" KAFKA_BROKERS = [] FATCAT_API_HOST = "https://api.fatcat.wiki/v0" INDEX_WORKER_BATCH_SIZE = 50 @@ -19,6 +20,7 @@ GOATCOUNTER_ENDPOINT = "https://goatcounter.scholar.fatcat.wiki/count" GOATCOUNTER_SCRIPT_URL = "https://goatcounter.scholar.fatcat.wiki/count.js" ONION_DOMAIN = "scholar-qa.archivev3qli37bju4rlh27glh24lljyezwxf4pokmrdbpefjlcrp5id.onion" ENABLE_PROMETHEUS = false +ENABLE_CITATION_QUERY = false [test] SCHOLAR_ENV = "test" @@ -28,6 +30,7 @@ ELASTICSEARCH_FRONTEND = "http://disabled-during-tests-bogus.xyz:3333" ELASTICSEARCH_BACKEND = "http://disabled-during-tests-bogus.xyz:3333" SANDCRAWLER_DB_API = "http://disabled-during-tests-bogus.xyz:3333" SANDCRAWLER_S3_API = "disabled-during-tests-bogus.xyz:8333" +GROBID_HOST = "http://disabled-during-tests-bogus.xyz:3333" SCHOLAR_ISSUEDB_PATH = ":memory:" [development] |