search_core/Documentation/configuration/connections.rst

1.3 KiB

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 connections.

The following settings are available.

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

The port where search service is reachable. E.g. default 9200 for Elasticsearch.

Example:

plugin.tx_searchcore.settings.connections.elasticsearch.port = 9200

index

Used by: 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