Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<repoName>.protocolservice.type=elasticv2
<repoName>.protocolservice.elasticv2.host = http://127.0.0.1:9200
<repoName>.protocolservice.elasticv2.index.create = protocol-fi
<repoName>.protocolservice.elasticv2.index.read = protocol-fi
<repoName>.protocolservice.elasticv2.index.update = protocol-fi
<repoName>.protocolservice.elasticv2.index.delete = protocol-fi
<repoName>.protocolservice.elasticv2.index.info = protocol-fi
<repoName>.protocolservice.elasticv2.index.admin = protocol-fi
<repoName>.protocolservice.elasticv2.index.unknown = protocol-fi
#<repoName>.protocolservice.elasticv2.authentication.type= #default: none
#<repoName>.protocolservice.elasticv2.authentication.credentials= #default:
#<repoName>.protocolservice.elasticv2.maxconnections= #default: 50
#<repoName>.protocolservice.elasticv2.connecttimeout= #default: 5
#<repoName>.protocolservice.elasticv2.sockettimeout= #default: 30
#<repoName>.protocolservice.elasticv2.requesttimeout= #default: 10
#<repoName>.protocolservice.elasticv2.fallback.type= #default:

Hinweise für Elastic 8

Ab Version 8 ist der Default beim Starten des Elastic-Servers Security und HTTPS aktiviert. Das mag sinnvoll sein, für das lokale Testen ist es aber hinderlich.
Man kann das Abschalten indem man in der Datei config/elasticsearch.yml folgende Einträge ergänzt:

Code Block
xpack.security.enabled: false
xpack.security.transport.ssl.enabled: false
xpack.security.http.ssl.enabled: false