google.appengine.api.search.search_util.AddFieldsToDocumentPb

Add the id and fields to document.

doc_id The document id.
fields List of tuples of field name, value and optionally type.
document The document to add the fields to.