Represents a occurrences of some token at positions in a document.
def google.appengine.api.search.simple_search_stub.Posting.__init__ |
( |
|
self, |
|
|
|
doc_id |
|
) |
| |
Initializer.
Args:
doc_id: The identifier of the document with token occurrences.
Raises:
TypeError: If an unknown argument is passed.
def google.appengine.api.search.simple_search_stub.Posting.AddPosition |
( |
|
self, |
|
|
|
position |
|
) |
| |
Adds the position in token sequence to occurrences for token.
def google.appengine.api.search.simple_search_stub.Posting.doc_id |
( |
|
self | ) |
|
Return id of the document that the token occurred in.
def google.appengine.api.search.simple_search_stub.Posting.RemovePosition |
( |
|
self, |
|
|
|
position |
|
) |
| |
Removes the position in token sequence from occurrences for token.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/api/search/simple_search_stub.py