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