from datetime import datetime
from google.appengine.api import search
my_document = search.Document(fields=[search.TextField(name='customer',
    value='Joe Jackson'), search.HtmlField(name='comment', value=
    'this is <em>marked up</em> text'), search.NumberField(name=
    'number_of_visits', value=7), search.DateField(name='last_visit', value
    =datetime.now()), search.DateField(name='birthday', value=datetime(year
    =1960, month=6, day=19)), search.GeoField(name='home_location', value=
    search.GeoPoint(37.619, -122.37))])
Full text search with google app engine using ndb models