djdb/search.py
def add_key(self, key, field, text):
        """Prepare to index content associated with a datastore key.

        Args:
          key: A db.Key instance.
          field: A field identifier string.
          text: A unicode string, the content to be indexed.
        """
        for term in set(explode(text)):
            sm = self._get_matches(key.kind(), field, term)
            sm.matches.append(key)
Prepare to index content associated with a datastore key.

        Args:
          key: A db.Key instance.
          field: A field identifier string.
          text: A unicode string, the content to be indexed.
        
Prepare to index content associated with a datastore key.
Prepare to index content associated with a datastore key .
def add_key(self, key, field, text):
        for term in set(explode(text)):
            sm = self._get_matches(key.kind(), field, term)
            sm.matches.append(key)
def add_key ( self , key , field , text ) : for term in set ( explode ( text ) ) : sm = self . _get_matches ( key . kind ( ) , field , term ) sm . matches . append ( key )
Prepare to index content associated with a datastore key.
Prepare to index content associated with a datastore key .
"""Prepare to index content associated with a datastore key.

        Args:
          key: A db.Key instance.
          field: A field identifier string.
          text: A unicode string, the content to be indexed.
        """
self
key
A db.Key instance.
A db . Key instance .
field
A field identifier string.
A field identifier string .
text
A unicode string, the content to be indexed.
A unicode string the content to be indexed .