[hibernate-issues] [JIRA] (HSEARCH-3266) Ensure Hibernate Search 5 configuration files will make bootstrap fail in 6

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Wed Jun 17 08:17:03 EDT 2020


Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *updated* an issue

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNTg4NDc5MTgyYzRhNDFjMmFkMWVjZGI1Nzk4NzM1M2UiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HSEARCH-3266?atlOrigin=eyJpIjoiNTg4NDc5MTgyYzRhNDFjMmFkMWVjZGI1Nzk4NzM1M2UiLCJwIjoiaiJ9 ) HSEARCH-3266 ( https://hibernate.atlassian.net/browse/HSEARCH-3266?atlOrigin=eyJpIjoiNTg4NDc5MTgyYzRhNDFjMmFkMWVjZGI1Nzk4NzM1M2UiLCJwIjoiaiJ9 ) Ensure Hibernate Search 5 configuration files will make bootstrap fail in 6 ( https://hibernate.atlassian.net/browse/HSEARCH-3266?atlOrigin=eyJpIjoiNTg4NDc5MTgyYzRhNDFjMmFkMWVjZGI1Nzk4NzM1M2UiLCJwIjoiaiJ9 )

Change By: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

At least one configuration property that did not exist in Search 5 should be provided explicitly by the user in order for Search 6 to bootstrap successfully.

This way, we will ensure that every user migrating from Search 5 to Search 6 will think about updating his configuration.

The most obvious choice would be to require users to set their backend type explicitly; the minimal configuration file would then be:

{noformat}
hibernate.search.backend_defaults.type = elasticsearch
{noformat}

Or something similar.

We should add tests to be sure bootstrapping without any with Search 5 configuration properties actually fails.

( https://hibernate.atlassian.net/browse/HSEARCH-3266#add-comment?atlOrigin=eyJpIjoiNTg4NDc5MTgyYzRhNDFjMmFkMWVjZGI1Nzk4NzM1M2UiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3266#add-comment?atlOrigin=eyJpIjoiNTg4NDc5MTgyYzRhNDFjMmFkMWVjZGI1Nzk4NzM1M2UiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100129- sha1:3ed9692 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200617/f4a39760/attachment.html 


More information about the hibernate-issues mailing list