![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | document_count |
def | GetDocumentStats |
def | AddDocument |
def | RemoveDocument |
def | GetPostingsForToken |
def | GetSchema |
def | __repr__ |
A simple RAM-resident inverted file over documents.
def google.appengine.api.search.simple_search_stub.RamInvertedIndex.AddDocument | ( | self, | |
doc_id, | |||
document | |||
) |
Adds a document into the index.
def google.appengine.api.search.simple_search_stub.RamInvertedIndex.GetDocumentStats | ( | self, | |
document | |||
) |
Gets statistics about occurrences of terms in document.
def google.appengine.api.search.simple_search_stub.RamInvertedIndex.GetPostingsForToken | ( | self, | |
token | |||
) |
Returns all document postings which for the token.
def google.appengine.api.search.simple_search_stub.RamInvertedIndex.GetSchema | ( | self | ) |
Returns the schema for the index.
def google.appengine.api.search.simple_search_stub.RamInvertedIndex.RemoveDocument | ( | self, | |
document | |||
) |
Removes a document from the index.