App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.api.search.simple_search_stub.Posting Class Reference
Inheritance diagram for google.appengine.api.search.simple_search_stub.Posting:

Public Member Functions

def __init__
 
def doc_id
 
def AddPosition
 
def RemovePosition
 
def __cmp__
 
def positions
 
def __repr__
 

Detailed Description

Represents a occurrences of some token at positions in a document.

Constructor & Destructor Documentation

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.

Member Function Documentation

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: