Elasticsearch version migration method and device and storage medium
The invention discloses an Elasticsearch version migration method, which comprises the following steps: when project update iteration is started, creating an XML file of a target version; calling the Mapping API to obtain field attribute information of the current production environment, and matchin...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an Elasticsearch version migration method, which comprises the following steps: when project update iteration is started, creating an XML file of a target version; calling the Mapping API to obtain field attribute information of the current production environment, and matching the field attribute information in the XML file of the target version with the field attribute information of the current production environment; if the matching is not successful, creating a target index, and defining the field type of the target index as field attribute information in the XML file of the target version; and calling the Reindex API, and migrating the data of the old index corresponding to the current production environment into the target index. According to the method, the field attribute information can be upgraded, and user requirements can be better met. The invention further provides an Elasticsearch version migration device, electronic equipment and a computer readable storage medium at th |
---|