algorithms.hits
hits(options: HITSOptions & object): Promise<HITSResult>Compute HITS (Hyperlink-Induced Topic Search) hub and authority scores.
Dispatched to the background worker. Emits the standard algorithm
lifecycle events. When writeHubsTo or writeAuthsTo are supplied the
respective score maps are written to node properties (recorded in history,
undoable).
options | HITSOptions & object | HITSOptions extended with optional writeHubsTo,
writeAuthsTo, and overwrite keys. |
Returns: Promise<HITSResult>
Example
const { hubs, authorities } = await api.algorithms.hits({ writeHubsTo: "hub", writeAuthsTo: "auth" });