Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiOGQ4OGY0...
) / New Feature (
https://hibernate.atlassian.net/browse/HSEARCH-2366?atlOrigin=eyJpIjoiOGQ...
) HSEARCH-2366 (
https://hibernate.atlassian.net/browse/HSEARCH-2366?atlOrigin=eyJpIjoiOGQ...
) Add an Elasticsearch mapping export tool (
https://hibernate.atlassian.net/browse/HSEARCH-2366?atlOrigin=eyJpIjoiOGQ...
)
Change By: Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
The tool would allow to export a Hibernate Search-generated mapping so that users may use
it in scripts or compare it to their existing Elasticsearch mapping.
Work has been initiated as part of [
https://hibernate.atlassian.net/browse/ HSEARCH-2260
|https://hibernate.atlassian.net/browse/HSEARCH-2260|smart-link] , but some major changes
may be needed, so this will have to be part of a major release.
Work in progress available here:
[
https://github.com/yrodiere/hibernate-search/tree/HSEARCH-2366|https://gi...]
-The main issue was that such a tool should not have to connect to an Elasticsearch
instance: we just want it to export the schema based on a configuration and a set of jars.
Yet HSearch's metamodel creation and index manager creation/startup seem intertwined,
and we cannot execute one without the other. So in order for the tool to exist, we need to
bring some changes to HSearch's startup process.-
-See there for more details about the issue:-
[
https://hibernate.atlassian.net/browse/HSEARCH-2260?focusedCommentId=8422...]
=> This is no longer true in Hibernate Search 6; you can start it offline; see
[
https://docs.jboss.org/hibernate/stable/search/reference/en-US/html_singl...
[
https://docs.jboss.org/hibernate/stable/search/reference/en-US/html_singl...]
(
https://hibernate.atlassian.net/browse/HSEARCH-2366#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-2366#add-comment?atlOrigin...
)
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....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:bdfa1eb )