mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-25 18:16:11 +01:00
56 lines
1.1 KiB
ReStructuredText
56 lines
1.1 KiB
ReStructuredText
|
.. _configuration_options_connection:
|
||
|
|
||
|
Connections
|
||
|
===========
|
||
|
|
||
|
Holds settings regarding the different possible connections for search services like Elasticsearch
|
||
|
or Solr.
|
||
|
|
||
|
Configured as::
|
||
|
|
||
|
plugin {
|
||
|
tx_searchcore {
|
||
|
settings {
|
||
|
connections {
|
||
|
connectionName {
|
||
|
// the settings
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Where ``connectionName`` is one of the available :ref:`connections`.
|
||
|
|
||
|
The following settings are available. For each setting its documented which connection consumes it.
|
||
|
|
||
|
.. _host:
|
||
|
|
||
|
``host``
|
||
|
--------
|
||
|
|
||
|
Used by: :ref:`Elasticsearch`.
|
||
|
|
||
|
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``
|
||
|
--------
|
||
|
|
||
|
Used by: :ref:`Elasticsearch`.
|
||
|
|
||
|
The port where search service is reachable. E.g. default ``9200`` for Elasticsearch.
|
||
|
|
||
|
Example::
|
||
|
|
||
|
plugin.tx_searchcore.settings.connections.elasticsearch.port = 9200
|
||
|
|
||
|
|
||
|
|