pub fn text_index_doc_to_proto(doc: &TextIndexDoc) -> TextIndexDoc
Encode one text-index document for the wire.