Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added example configuration for ES. #4023

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion home/src/main/resources/config/example.applicationSetup.n3
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
# ----------------------------
#
# Search engine module:
# The Solr-based implementation is the only standard option, but it can be
# The Solr-based implementation is the standard option and it can be
# wrapped in an "instrumented" wrapper, which provides additional logging
# and more rigorous life-cycle checking.
#
Expand All @@ -79,6 +79,17 @@
a vitroWebapp:searchengine.solr.SolrSearchEngine ,
vitroWebapp:modules.searchEngine.SearchEngine .

# Alternatively, you can setup Elasticsearch engine in the same manner:

#:instrumentedSearchEngineWrapper
# a vitroWebapp:searchengine.InstrumentedSearchEngineWrapper ,
# vitroWebapp:modules.searchEngine.SearchEngine ;
# :wraps :elasticSearchEngine .

#:elasticSearchEngine
# a vitroWebapp:searchengine.elasticsearch.ElasticSearchEngine ,
# vitroWebapp:modules.searchEngine.SearchEngine .

# ----------------------------
#
# Search indexer module:
Expand Down
9 changes: 8 additions & 1 deletion home/src/main/resources/config/example.runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ argon2.time = 1000
# email.smtpHost =
# email.replyTo =

#
# WARNING: Deprecated, switch to using vitro.local.searchengine.url as explained below
# URL of Solr context used in local VIVO search. This will usually consist of:
# scheme + server_name + port + "solr" + solr_core_name
# In a standard Solr installation, the Solr service will be available on port
Expand All @@ -92,6 +92,13 @@ argon2.time = 1000
#
vitro.local.solr.url = http://localhost:8983/solr/vivocore

# URL of generic searchengine context (Supports Solr, Elasticsearch and Opensearch)
# vitro.local.searchengine.url = http://localhost:8983/solr/vivocore

# If basic authentication is supported for connection to you search engine instance,
# the credentials should be provided below
#vitro.local.searchengine.username =
#vitro.local.searchengine.password =

# -----------------------------------------------------------------------------
# LINKING USER ACCOUNTS TO PROFILE PAGES
Expand Down
Loading