In these 2 articles:
we have this statement:
"By default, Elasticsearch runs as an embedded search engine, but it's only supported in production as a separate server or cluster. "
A customer interpreted this to mean that we don't support remote operation in non-prod environments. In other words "it is only supported in production", but not other purposes.
The intention behind the statement is to say that in production, it is only supported as a separate cluster, and not supported if embedded.
I looked at other similar statements, that are clearer:
- You wouldn't run an embedded database like HSQL in production, and you shouldn't run Elasticsearch in embedded mode in production either. Instead, run Elasticsearch in remote operation mode, as a standalone server or cluster of server nodes.
- By default, Liferay DXP uses Elasticsearch as an embedded service. It works, but this is not a supported configuration for a production server.
Can you please update the ones listed at the top to avoid future misunderstandings? It might be good to mention that a separate cluster is useful in a non-production environment, so the setup is closer to the prod environment.