search_core/Documentation/configuration/connections.rst

64 lines
1.3 KiB
ReStructuredText
Raw Permalink Normal View History

.. _configuration_options_connection:
Connections
===========
Holds settings regarding the different possible connections for search services like Elasticsearch
or Algolia.
Configured as::
plugin {
tx_searchcore {
settings {
connections {
connectionName {
// the settings
}
}
}
}
}
Where ``connectionName`` is one of the available :ref:`connections`.
The following settings are available.
.. _host:
``host``
--------
The host, e.g. ``localhost`` or an IP where the search service is reachable from TYPO3
installation.
Example::
plugin.tx_searchcore.settings.connections.elasticsearch.host = localhost
.. _port:
``port``
--------
The port where search service is reachable. E.g. default ``9200`` for Elasticsearch.
Example::
plugin.tx_searchcore.settings.connections.elasticsearch.port = 9200
.. _index:
``index``
2018-05-18 10:12:19 +02:00
---------
2018-05-18 10:12:19 +02:00
Used by: :ref:`connection_elasticsearch`.
The index where the documents are being indexed to. E.g. default ``typo3content`` for Elasticsearch.
This can be used to have one Elasticsearch server for multiple environments. E.g. production and staging.
Example::
plugin.tx_searchcore.settings.connections.elasticsearch.index = typo3content