[hibernate-issues] [JIRA] (HSEARCH-3934) Custom index settings for Elasticsearch indexes created by Hibernate Search

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Wed Jun 3 07:32:10 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=eyJpIjoiNDBiNTk1MDYxNjlkNDk5N2IyMTZhNzNiMTM4Nzc1M2YiLCJwIjoiaiJ9 ) / New Feature ( https://hibernate.atlassian.net/browse/HSEARCH-3934?atlOrigin=eyJpIjoiNDBiNTk1MDYxNjlkNDk5N2IyMTZhNzNiMTM4Nzc1M2YiLCJwIjoiaiJ9 ) HSEARCH-3934 ( https://hibernate.atlassian.net/browse/HSEARCH-3934?atlOrigin=eyJpIjoiNDBiNTk1MDYxNjlkNDk5N2IyMTZhNzNiMTM4Nzc1M2YiLCJwIjoiaiJ9 ) Custom index settings for Elasticsearch indexes created by Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH-3934?atlOrigin=eyJpIjoiNDBiNTk1MDYxNjlkNDk5N2IyMTZhNzNiMTM4Nzc1M2YiLCJwIjoiaiJ9 )

Issue Type: New Feature Assignee: Unassigned Components: backend-elasticsearch Created: 03/Jun/2020 04:32 AM Fix Versions: 6.0.0.Beta-backlog-low-priority Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

The most common use case is when people want to configure replication and sharding. Currently they have to use index templates for that.

One quick and easy-to-implement solution would be to add a configuration option:

hibernate.search.backend.myBackend.index_defaults.schema_management.settings_file = my-settings.json

Later, we can introduce more powerful solutions such as HSEARCH-3306 ( https://hibernate.atlassian.net/browse/HSEARCH-3306 ) Open.

Questions:

* How should we interpret the file path: relative to the classpath root? Relative to the working directory? As an URL?
* Should we take the settings into account when validating the schema?

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

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#100128- sha1:03ebdb2 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200603/6b15de42/attachment.html 


More information about the hibernate-issues mailing list