Methods
# _getIndex() → {object|null}
Loads the Vines index from cache or disk.
The index object or null if not found
object
|
null
# async buildIndex(nsi, progressCallbackopt) → {object}
Builds the Vines Strong's index by iterating all Vines dictionary keys, fetching each entry, and extracting Strong's number references.
The resulting index maps normalized Strong's numbers (e.g. "G3722") to arrays of Vines keys that reference them.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
nsi |
object
|
The node-sword-interface instance |
|
progressCallback |
function
|
<optional> |
Optional callback receiving { totalPercent, message } |
The generated index
object
# deleteIndex()
Deletes the Vines Strong's index from cache and disk.
# getVinesKeysForStrongs(strongsKey) → {Array.<string>|null}
Gets the Vines dictionary keys that reference a given Greek Strong's number.
Parameters:
| Name | Type | Description |
|---|---|---|
strongsKey |
string
|
The Strong's number (e.g. "G3722") |
Array of Vines keys, or null if not found
Array.<string>
|
null
# indexExists() → {boolean}
Checks whether the Vines Strong's index exists (in cache or on disk).
boolean