def search(self, word, limit=30):
        """
        Search for a word within the wordgatherer collection.
        :param word: Word to search for.
        :param limit: Maximum number of results to return.
        """
        search = Search(PrefixQuery("word", word), sort={"count": "desc"})
        for doc in self.connection.search(
                search, indexes=[self.index], count=limit):
            yield (doc["word"], doc["count"])