View source on GitHub |
Add the id and fields to document.
google.appengine.api.search.search_util.AddFieldsToDocumentPb(
doc_id, fields, document
)
Args | |
---|---|
doc_id
|
The document id. |
fields
|
List of tuples of field name, value and optionally type. |
document
|
The document to add the fields to. |