[hibernate-issues] [JIRA] (HSEARCH-3102) Simpler configuration when only one backend type is available

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Wed Jun 17 04:03:30 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=eyJpIjoiZmRmNGJiNDc3Yjk4NGE5OGJlMmJjYTMyMmIzYjY3YzkiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3102?atlOrigin=eyJpIjoiZmRmNGJiNDc3Yjk4NGE5OGJlMmJjYTMyMmIzYjY3YzkiLCJwIjoiaiJ9 ) HSEARCH-3102 ( https://hibernate.atlassian.net/browse/HSEARCH-3102?atlOrigin=eyJpIjoiZmRmNGJiNDc3Yjk4NGE5OGJlMmJjYTMyMmIzYjY3YzkiLCJwIjoiaiJ9 ) Simpler configuration when only one backend type is available ( https://hibernate.atlassian.net/browse/HSEARCH-3102?atlOrigin=eyJpIjoiZmRmNGJiNDc3Yjk4NGE5OGJlMmJjYTMyMmIzYjY3YzkiLCJwIjoiaiJ9 )

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

WARNING: should not be moved to 6.0, because of HSEARCH-3266

We may want to allow users to skip the definition of the backend type, or even of the backend, when there is only one registered backend factory alias?

See in particular {{org.hibernate.search.v6poc.engine.impl.IndexManagerBuildingStateHolder#startBuilding}} and {{org.hibernate.search.v6poc.engine.impl.IndexManagerBuildingStateHolder#createBackend}}: when the backend name is missing we should use "default", and when the default backend type is missing we should use that single registered backend factory alias.

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

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:dd5aa75 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200617/ddf72808/attachment.html 


More information about the hibernate-issues mailing list