Tom Aarsen
Extend the README snippet to use encode_query/encode_document, default to document
9508e3c