[hibernate-issues] [JIRA] (HSEARCH-3850) Expose a tool to build property keys
Yoann Rodière (JIRA)
jira at hibernate.atlassian.net
Tue Mar 3 06:59:13 EST 2020
Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *created* an issue
Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiY2MxZmE2ZDU2MmI1NDdjNGIyNTM3ODE3MWRjOThhYjUiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3850?atlOrigin=eyJpIjoiY2MxZmE2ZDU2MmI1NDdjNGIyNTM3ODE3MWRjOThhYjUiLCJwIjoiaiJ9 ) HSEARCH-3850 ( https://hibernate.atlassian.net/browse/HSEARCH-3850?atlOrigin=eyJpIjoiY2MxZmE2ZDU2MmI1NDdjNGIyNTM3ODE3MWRjOThhYjUiLCJwIjoiaiJ9 ) Expose a tool to build property keys ( https://hibernate.atlassian.net/browse/HSEARCH-3850?atlOrigin=eyJpIjoiY2MxZmE2ZDU2MmI1NDdjNGIyNTM3ODE3MWRjOThhYjUiLCJwIjoiaiJ9 )
Issue Type: Improvement Assignee: Unassigned Components: engine Created: 03/Mar/2020 03:59 AM Fix Versions: 6.0.0-Bonus-backlog Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )
Property keys for backends and indexes are a bit awkward to use right now, because they require concatenating strings: the "hibernate.search." prefix, the backend name, the radical.
It would be nice to expose a tool to build property keys more easily.
For example:
// hibernate.search.backends.myBackendName.version
BackendSettings.backendKey( "myBackendName" , ElasticsearchBackendSettings.VERSION )
// hibernate.search.backends.myBackendName.index_defaults.lifecycle.strategy
IndexSettings.indexDefaultsKey( "myBackendName" , ElasticsearchIndexSettings.LIFECYCLE_STRATEGY )
// hibernate.search.backends.myBackendName.indexes.myIndexName.lifecycle.strategy
IndexSettings.indexKey( "myBackendName" , "myIndexName" , ElasticsearchIndexSettings.LIFECYCLE_STRATEGY )
( https://hibernate.atlassian.net/browse/HSEARCH-3850#add-comment?atlOrigin=eyJpIjoiY2MxZmE2ZDU2MmI1NDdjNGIyNTM3ODE3MWRjOThhYjUiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3850#add-comment?atlOrigin=eyJpIjoiY2MxZmE2ZDU2MmI1NDdjNGIyNTM3ODE3MWRjOThhYjUiLCJwIjoiaiJ9 )
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#100121- sha1:a532aba )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200303/0d6b8562/attachment-0001.html
More information about the hibernate-issues
mailing list