Inserts @document into the index using @key as the lookup key.
If a matching document (checked by hashing @document) has already been inserted, only a single instance of the document will be stored.
If @document is floating, it will be consumed.
@priority may be used to group results by priority. Priority must be less than 256.
The UTF-8 encoded key for the document
The document to store
An optional priority for the keyword.
The document id registered for @document.
See Implementation
Inserts @document into the index using @key as the lookup key.
If a matching document (checked by hashing @document) has already been inserted, only a single instance of the document will be stored.
If @document is floating, it will be consumed.
@priority may be used to group results by priority. Priority must be less than 256.