You don't.
The search API needs to search "documents" that you have created, not models from the datastore.
- Build documents structured with fields to describe the data you wish
to search
- Create an index of documents you wish to search
- Construct queries to search the index
- Build search requests to run queries against the documents in your application Score results and
customize their presentation to the user
You'll have to write a converter that loads data from your models and creates searchable documents that can then be put into the index.
E.G. from the docs to create a document:
from google.appengine.api import search
search.Document(
doc_id='document id',
fields=[search.TextField(name='subject', value='going for dinner'),
search.HtmlField(name='body', value='<html>I found a place.</html>'),
search.TextField(name='signature', value='brzydka pogoda', language='pl')],
language='en')
So that document has 3 separate fields that can be searched individually.
The Document Class