diff options
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 1 | ||||
-rw-r--r-- | settings.toml | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 43534bf..ce50243 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -386,7 +386,6 @@ <div class="tag-row"> {# ### TAGS #} {# colors to use: olive, brown, grey, pink, red, etc #} - {# TODO: remove doc for ES 7.x-style lack of type #} {# TODO: only show 'json' link if from cluster? #} {% if debug_mode %} <a target="_blank" rel="noopener" href="{{ settings.ELASTICSEARCH_PUBLIC_URL }}/{{ settings.ELASTICSEARCH_QUERY_FULLTEXT_INDEX }}/_doc/{{ paper.key }}"> diff --git a/settings.toml b/settings.toml index e2bc6d6..76488b0 100644 --- a/settings.toml +++ b/settings.toml @@ -50,14 +50,14 @@ KAFKA_BROKERS = ["localhost"] [development-qa] SCHOLAR_ENV = "dev" -ELASTICSEARCH_QUERY_BASE = "http://scholar-svc500.fatcat.wiki:9292" -ELASTICSEARCH_PUBLIC_URL = "http://scholar-svc500.fatcat.wiki:9292" +ELASTICSEARCH_QUERY_BASE = "https://search.fatcat.wiki" +ELASTICSEARCH_PUBLIC_URL = "https://search.fatcat.wiki" [qa] SCHOLAR_ENV = "qa" -ELASTICSEARCH_QUERY_BASE = "http://scholar-svc500.fatcat.wiki:9292" +ELASTICSEARCH_QUERY_BASE = "https://search.fatcat.wiki" ELASTICSEARCH_WRITE_BASE = "http://localhost:9200" -ELASTICSEARCH_PUBLIC_URL = "http://scholar-svc500.fatcat.wiki:9292" +ELASTICSEARCH_PUBLIC_URL = "https://search.fatcat.wiki" KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"] [prod] @@ -67,7 +67,7 @@ ELASTICSEARCH_QUERY_BASE = "http://localhost:9292" ELASTICSEARCH_QUERY_FULLTEXT_INDEX = "scholar_fulltext" ELASTICSEARCH_WRITE_BASE = "http://localhost:9200" ELASTICSEARCH_WRITE_FULLTEXT_INDEX = "scholar_fulltext_v01_20210128" -ELASTICSEARCH_PUBLIC_URL = "http://scholar-svc500.fatcat.wiki:9292" +ELASTICSEARCH_PUBLIC_URL = "https://search.fatcat.wiki" KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"] ENABLE_GOATCOUNTER = true GOATCOUNTER_ENDPOINT = "/goatcounter/count" |