From aaa96e932fb365026a6c7646aabc98a95f48319e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 22 Oct 2020 13:47:33 -0700 Subject: update frontend/backend config values --- fatcat_scholar/templates/search_macros.html | 2 +- settings.toml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index a114986..57a9011 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -151,7 +151,7 @@ {# TODO: remove doc for ES 7.x-style lack of type #} {# TODO: only show 'json' link if from cluster? #} {% if debug_mode %} - + json {% endif %} diff --git a/settings.toml b/settings.toml index a16969b..50910cf 100644 --- a/settings.toml +++ b/settings.toml @@ -4,7 +4,8 @@ SCHOLAR_ENV = "default" SCHOLAR_ISSUEDB_PATH = "data/issue_db.sqlite" I18N_LANG_DEFAULT = "en" FATCAT_ELASTICSEARCH_BACKEND = "https://search.fatcat.wiki" -ELASTICSEARCH_BACKEND = "https://search.fatcat.wiki" +ELASTICSEARCH_BACKEND = "http://search-svc097.fatcat.wiki:9292" +ELASTICSEARCH_FRONTEND = "http://search-svc097.fatcat.wiki:9292" ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext" THUMBNAIL_URL_PREFIX = "https://blobs.fatcat.wiki/thumbnail/pdf/" SANDCRAWLER_DB_API = "http://aitio.us.archive.org:3030" @@ -22,13 +23,13 @@ FATCAT_API_HOST = "http://localhost:9411/v0" SCHOLAR_ENV = "dev" ELASTICSEARCH_FULLTEXT_INDEX = "dev_scholar_fulltext" ELASTICSEARCH_BACKEND = "http://localhost:9200" +ELASTICSEARCH_FRONTEND = "http://localhost:9200" KAFKA_BROKERS = ["localhost"] FATCAT_API_HOST = "http://localhost:9411/v0" [qa] SCHOLAR_ENV = "qa" ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext_v01" -ELASTICSEARCH_BACKEND = "http://search-svc097.fatcat.wiki:9292" KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"] [prod] -- cgit v1.2.3