582 B
582 B
Index
class Daisy.Index.Index(nodeNickname: str, daisyCryptography, prefill: list = [], indexedFields: list = [], autoIndex: bool = True)
A searchable index of records, this is currently only half implemented but works enough to hold our remote catch index
addEntry(entry: dict)
Add a record to the index
- entry: dict
- Record to add to the index
search(keydict: dict, strict: bool = True)
Search index for record for records with values
- keydict: dict
- Keys/Values to search for
- strict: bool
- Whether to require all keys/values match