METHOD FOR OBTAINING INTERSECTION OF PLURALITY OF DOCUMENTS AND DOCUMENT SERVER
The present disclosure provides a method and an apparatus for obtaining an intersection of a plurality of documents and a readable storage medium. According to an example in the method, for at least two document collections for which an intersection needs to be obtained in a search, document collect...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present disclosure provides a method and an apparatus for obtaining an intersection of a plurality of documents and a readable storage medium. According to an example in the method, for at least two document collections for which an intersection needs to be obtained in a search, document collection lengths of the document collections are obtained, and lengths of the at least two document collections are compared. In this way, an intersection algorithm for obtaining a document intersection may be determined according to a length difference between the at least two document collections. For example, when the document collection lengths of the at least two document collections meet a preset condition, an element in a document collection with the shortest length may be used as a query element to sequentially traverse the remaining document collections. |
---|