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.
this | |
key |
The UTF-8 encoded key for the document |
document |
The document to store |
priority |
An optional priority for the keyword. |
The document id registered for |