Capacity expansion method and device for search engine, electronic equipment and storage medium

The invention provides a capacity expansion method and device for a search engine, electronic equipment and a storage medium. The method comprises the steps of: determining the capacity expansion number of index data fragments; according to the expansion number of the index data fragments, expanding...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIN LEBIN, WANG XUEWU, LI DA
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a capacity expansion method and device for a search engine, electronic equipment and a storage medium. The method comprises the steps of: determining the capacity expansion number of index data fragments; according to the expansion number of the index data fragments, expanding a pre-created first routing table to obtain an expanded first routing table; determining a node identifier corresponding to the fragment identifier of each expanded index data fragment according to the corresponding relationship between the fragment identifiers and the node identifiers stored in the expanded first routing table; for each expanded index data fragment, storing the expanded index data fragment in a target index node, wherein the node identifier of the target index node is the nodeidentifier corresponding to the fragment identifier of the expanded index data fragment. Through the technical scheme provided by the embodiment of the invention, the cost of the search engine systemcan be reduced. Moreover,