Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiZjBhOTc3...
) / New Feature (
https://hibernate.atlassian.net/browse/HSEARCH-3841?atlOrigin=eyJpIjoiZjB...
) HSEARCH-3841 (
https://hibernate.atlassian.net/browse/HSEARCH-3841?atlOrigin=eyJpIjoiZjB...
) Offline startup (
https://hibernate.atlassian.net/browse/HSEARCH-3841?atlOrigin=eyJpIjoiZjB...
)
Issue Type: New Feature Assignee: Unassigned Components: backend-elasticsearch Created:
25/Feb/2020 03:13 AM Fix Versions: 6.0.0.Beta-backlog-high-priority Priority: Major
Reporter: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Currently, even when the index lifecycle strategy is set to NONE, the Elasticsearch
backend will send a request to the cluster on startup in order to check the version of the
cluster.
This has two purposes:
* Check that the version of the cluster matches the version configured by the user (if
any)
* Gather more precise information about the Elasticsearch version so as to pick the
appropriate protocol dialect.
In some cases, it's desirable that no request is sent to the Elasticsearch cluster on
startup. We should try to get rid of this version check:
* Maybe add a configuration option to disable it explicitly? This would require that the
version provided by the user is precise enough to determine the protocol dialect.
* Maybe remove the check completely when a version is specified, and is precise enough to
determine the protocol dialect? That would lead to complex, potentially surprising
behavior, though...
* Something else?
See
https://discourse.hibernate.org/t/manual-indexing-without-listeners/3790/3
(
https://hibernate.atlassian.net/browse/HSEARCH-3841#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3841#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100121- sha1:a269fed )