[hibernate-issues] [JIRA] (HSEARCH-3967) Specify defaults for index-level configuration properties at the backend level

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Tue Jul 21 02:03:42 EDT 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=eyJpIjoiOTgzMDU1OWMzZGIwNDc3YmE3MGNjMDkxN2JmOTY3YTciLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3967?atlOrigin=eyJpIjoiOTgzMDU1OWMzZGIwNDc3YmE3MGNjMDkxN2JmOTY3YTciLCJwIjoiaiJ9 ) HSEARCH-3967 ( https://hibernate.atlassian.net/browse/HSEARCH-3967?atlOrigin=eyJpIjoiOTgzMDU1OWMzZGIwNDc3YmE3MGNjMDkxN2JmOTY3YTciLCJwIjoiaiJ9 ) Specify defaults for index-level configuration properties at the backend level ( https://hibernate.atlassian.net/browse/HSEARCH-3967?atlOrigin=eyJpIjoiOTgzMDU1OWMzZGIwNDc3YmE3MGNjMDkxN2JmOTY3YTciLCJwIjoiaiJ9 )

Issue Type: Improvement Assignee: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) Components: backend-elasticsearch, backend-lucene, engine Created: 20/Jul/2020 23:03 PM Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

I.e. instead of this:

# Default
hibernate.search.backend.index_defaults.foo = bar
# Override for index "index1"
hibernate.search.backend.indexes.index1.foo = bar2

Do this:

# Default
hibernate.search.backend.foo = bar
# Override for index "index1"
hibernate.search.backend.indexes.index1.foo = bar2

Reasons:

* This structure is a little less verbose.
* With this structure, we can easily turn backend-level settings into index-level settings ( HSEARCH-3636 ( https://hibernate.atlassian.net/browse/HSEARCH-3636 ) In Progress ).
* This "cascading" structure can be extended to apply to shards, too: shard settings default to index settings, which default to backend settings. This will be useful for HSEARCH-3636 ( https://hibernate.atlassian.net/browse/HSEARCH-3636 ) In Progress in particular.

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

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#100133- sha1:5ac4b50 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200721/4c1f395b/attachment.html 


More information about the hibernate-issues mailing list